7 ms·
I expected CPython to have something like this, especially in 3.x but nothing. If Ruby can get faster than Python sooner, I'd switch focus to Ruby (and somewha
by skeptic2718 10y ago
I expected CPython to have something like this, especially in 3.x but nothing.
If Ruby can get faster than Python sooner, I'd switch focus to Ruby (and somewhat make Go less of a priority for us).
- orf 10y agoWhat's wrong with PyPy?
- my123 10y agoGood Python 3.x support...
- progman 10y agoDevelopers who like Python syntax and want C performance should seriously consider Nim. http://nim-lang.org http://nim-lang.org
- weberc2 10y agoWhat's the library story for Nim? Sincere question; not trying to start a flame war.
- dagw 10y agohttp://nim-lang.org/docs/lib.html http://nim-lang.org/docs/lib.html However many of the libraries list under "third party" are either unmaintained or not really ready for production. The stuff in the standard library seems pretty good though (although I've not used Nim for serious production work)
- brianwawok 10y agoIt's like the bad parts of Java mixed with Python to get a little more perf
- orf 10y agoExcept it's nothing like that, it's like an interpreter framework written in Python with a reference implementation that happens to be a Python interpreter. Write your interpreter in RPython, use the right decorators and boom you have a compiled interpreter with a free JIT (with speeds that beat C in some workloads, apparently). Pretty cool. Pretty unlike Java I think.
- pjmlp 10y ago> Pretty unlike Java I think. Time to learn about Graal, which will be partially integrated into Java 9. https://wiki.openjdk.java.net/display/Graal/Publications+and+Presentations https://wiki.openjdk.java.net/display/Graal/Publications+and... Or JikesRVM for that matter, http://www.jikesrvm.org/ http://www.jikesrvm.org/
- deleted 10y ago[deleted]
- deleted 10y ago[deleted]
- kweinber 10y agoDon't count on Ruby getting 10x faster anytime soon. The meta-object model and method-missing reliance of many of the libraries make performance optimizations of JITs a very limited enterprise.
- BenoitP 10y agoI hear the Truffle+Graal combination is getting very good results about Ruby. Here is video about it (pointed to the missing-method example): [1] They're hitting 35x in some benchmarks [2]. Most benefits being in workloads where Ruby has to continuously talk to C; the result-passing part gets compiled away. It is available in Java 9, if I'm not mistaken. LLVM IR bytecode ingestion is in preparations too [3]. [1] https://youtu.be/b1NTaVQPt1E?t=48m17s https://youtu.be/b1NTaVQPt1E?t=48m17s [2] http://jruby.org/bench9000/ http://jruby.org/bench9000/ [3] https://github.com/graalvm/sulong https://github.com/graalvm/sulong
- ksec 10y agoThree of the biggest Rails Shop, ( this is assuming the most popular, resources heavy usage are Rails related. ) all run on CRuby. That is Cookpad, Shopify, and GitHub. ( Basecamp in rather small compared to these 3 ) I wonder if there are any popular webshop ran on JRuby, or why those three dont use JRuby.
- sdegutis 10y agoAnd when you take those two things away, you pretty much just have Java. Which, while it can be optimized, it's also Java.
- pjmlp 10y agoIt already is, kind of, it is called Crystal, but yeah it isn't the same thing.
- RX14 10y agoIf you don't mind starting from scratch and using a statically typed language, crystal is amazing. However, you will not get vary far porting any large ruby project to crystal without a rewrite from scratch.
- rogerdpack 10y agoOne thing I do like is that porting code from ruby to crystal to javascript is actually somewhat possible. FTW.
- MrBra 10y agoBut why not just use Opal for that?
- rweichler 10y agoOr just switch to LuaJIT.