google / rune

Rune is a programming language developed to test ideas for improving security and efficiency.
Apache License 2.0
1.91k stars 46 forks source link

Relevance to Nim #38

Open ShalokShalom opened 1 year ago

ShalokShalom commented 1 year ago

This looks a hell lot like an already existing language, called Nim

Python like syntax with C/C++ interop, reference counting and so on.

Did you take any inspiration? https://nim-lang.org/

And what would you say, are Rune's benefits, compared to it?

waywardgeek commented 1 year ago

Wow, Nim looks very cool! The syntax is a bit different, e.g. 'proc' instead of 'func', but frankly low-level syntax choices make little difference. We (at least me) haven't looked at Nim at all, but I like what I see so far.

I think a lot of folks out there see the same thing: an opportunity for a Python-inspired system programming language that is memory safe, fun to use, and more productive than the line of languages that are still directly compatible with C.

I think this is an example of "great minds think alike". Hopefully, Nim, or a similar language, will succeed in changing the world.

ShalokShalom commented 1 year ago

Well, func exists as well. It is a real function, so purity checked.

proc is without purity check. I always wondered, why people call it function, when its actually a process 😃