> Reference Counting with cycle detection at exit, 95% of reference count ops removed at compile time thanks to lifetime analysis.
This is really clever. Why don't more languages do this? Also, is this the same analysis that does type checking? And does this technique make it unbearably slow?
90s_dev 11 hours ago [-]
> Choose between running directly using the convenient JIT, or compilation to C++ for extra speed.
C++ is an odd compilation target. Usually it's just C. I'd be curious to see what kind of C++ it emits, and whether the techniques it uses would be better exported as C++ libraries than a new language on top of C++.
zem 4 hours ago [-]
compiling to c++ has the possibility of interop with c++ libraries, without being tied to c++ as a language. that's really hard to do any other way.
90s_dev 11 hours ago [-]
FYI this is not a PDF even though it looks like it. Took me a minute.
Also, why haven't we standardized a syntax yet? Seems like at this point we shouldn't be debating braces vs do/end vs indentation, and we should just settle.
> Lobster is a programming language that tries to combine the advantages of static typing and compile-time memory management with a very lightweight, friendly and terse syntax, by doing most of the heavy lifting for you.
That's... a non-sequitor? Syntax is interesting to discuss and think about it, but when I see "static typing and compile-time memory management", I want to jump right into knowing more about its implementatoin and usage. Does it use ref-counting? Is it embeddable like Lua? Does it have a VM or compile to machine code? etc.
Rendered at 08:49:54 GMT+0000 (Coordinated Universal Time) with Vercel.
This is really clever. Why don't more languages do this? Also, is this the same analysis that does type checking? And does this technique make it unbearably slow?
C++ is an odd compilation target. Usually it's just C. I'd be curious to see what kind of C++ it emits, and whether the techniques it uses would be better exported as C++ libraries than a new language on top of C++.
Also, why haven't we standardized a syntax yet? Seems like at this point we shouldn't be debating braces vs do/end vs indentation, and we should just settle.
> Lobster is a programming language that tries to combine the advantages of static typing and compile-time memory management with a very lightweight, friendly and terse syntax, by doing most of the heavy lifting for you.
That's... a non-sequitor? Syntax is interesting to discuss and think about it, but when I see "static typing and compile-time memory management", I want to jump right into knowing more about its implementatoin and usage. Does it use ref-counting? Is it embeddable like Lua? Does it have a VM or compile to machine code? etc.