buzz-language / buzz

👨‍🚀 buzz, A small/lightweight statically typed scripting language
https://buzz-lang.dev
MIT License
1.22k stars 34 forks source link

is buzz has real thread? #288

Closed acodervic closed 4 months ago

acodervic commented 4 months ago

is buzz has real thread? There are many excellent script language such as LUAJIT, but Luajit is deadly without multi -threaded support, which makes it impossible to complete the more complicated application.

giann commented 4 months ago

It's planned: https://github.com/buzz-language/buzz/issues/176

acodervic commented 4 months ago

It's planned: #176

Thank you for your answer, another question? How big is the execution file compiled by Buzz? I downloaded version 0.3 and found that Buzz has a large number of executable files .buzz is about 8m large. I want to say that this volume is too large. As a script language, there are only about 500K (luajit)

acodervic commented 4 months ago

I think if Buzz cannot be kept very small, there is no big advantage compared to some other technologies (Graalvm Native). Sometimes I want to write some very small programs to distribute it, but I want the development of script language again efficiency

acodervic commented 4 months ago

sorry , I strip my buzz , it is only 1m . Thanks !

giann commented 4 months ago

buzz is not a compiled language. The executable is around 700kb if you build it with -Doptimize=ReleaseSmall.