Top
Best
New

Posted by bogdanoff_2 2 days ago

Copper – A minimal low-level programming language with OOP and generics(tibleiz.net)
163 points | 92 commentspage 2
DenisM 18 hours ago||
Garbage collected? Couldn’t tell from the docs.
iguessthislldo 16 hours ago|
I thought it would be because it looks so Python/Ruby-like, but in the source I don't see anything related to a GC at a glance and it has an allocator interface: https://tibleiz.net/browser.html?path=std&title=Standard%20L... (click on "memory" then "memory-allocator.co")
skybrian 17 hours ago||
It seems pretty tasteful, but I don't see anything about character sets. How does it support Unicode? What does a string of 16-bit characters represent?

There do seem to be some Unicode constants in the standard library:

https://tibleiz.net/browser.html?path=std&title=Standard%20L...

flossly 17 hours ago||
Looks like Crystal to me. But with stronger typing.

https://crystal-lang.org

Neat little language...

yxhuvud 15 hours ago|
Stronger how?

Definitely more explicit by default though.

But yes, very neat. I'd miss Enumerable though, if they manage to get that to play with manual allocation that would be even neater.

leecommamichael 17 hours ago||
Seems like Dart with indentation instead of braces.
christophilus 16 hours ago|
It doesn’t look like it cares about indentation. It’s more like Basic or Ruby.
vardump 11 hours ago||
Hmm... Copper, I guess it must be great for representing lists. :-)
stevefolta 16 hours ago||
Looks nice and small. Too bad it doesn't quite actually build (on Linux). Also, no string interpolation (AFAIC) and no kebab-case.

Here's my current stab at a small compiled language: <https://codeberg.org/stevefolta/lx-2025>.

godockly 9 hours ago||
It's a bit like temple os :/
reactordev 12 hours ago||
What about binding to external C ABI? I can haz Vulkan?
digitaltrees 13 hours ago|
Seems really interesting
More comments...