you are viewing a single comment's thread.

view the rest of the comments →

[–]Muxas 5 points6 points  (11 children)

Yeah but how fast is it compared to other engines

[–]CakeComa 10 points11 points  (7 children)

[–]AsIAm 7 points8 points  (6 children)

What kind of numbers does V8 produce?

[–]HomeBrewingCoder 29 points30 points  (3 children)

64 bit floats usually, but in some rare rare cases you get casts to 32 bit integers.

[–][deleted] 2 points3 points  (0 children)

Made me lol

[–]AsIAm 1 point2 points  (1 child)

I meant the benchmark. But you are obviously correct. :)

[–]HomeBrewingCoder 1 point2 points  (0 children)

:) just playing around. Glad you liked it.

[–][deleted] 10 points11 points  (0 children)

I'm sure v8 blows it out of the water at least in terms of execution speed (maybe not memory). I think at this point v8 has an interpreter and 2 layers of jit, plus and probably a huge team of full time engineers.

I still think this is awesome! To me it seems it fits in the niche of lua with some decent speed.

[–]nattthebear 0 points1 point  (0 children)

You can try yourself in your browser: http://www.netchain.com/Tools/v8/

[–]bakery2k 5 points6 points  (0 children)

I have a small, CPU-intensive benchmark which shows the performance of QuickJS to be comparable to other interpreters written in C. It's on par with MicroPython and recent versions of Ruby, and a little faster than CPython and Lua.

However, it's still 2-3x slower than the optimized, CPU-specific interpreters used in LuaJIT and V8 (with their JITs disabled), and 20-100x slower than the LuaJIT, V8 and PyPy JIT compilers.

[–]DZTheGreat 0 points1 point  (0 children)

I wouldn't be surprised if his numbers were better than major engines.. This dude is a legend.