Better HN
topnewbestaskshowjobs
Log inSign up

H2CO3

15 karma · joined Aug 18, 2015 (11y ago) · 8 submissions

Language design aficionado, compiler nerd, amateur pianist, jazz-acappella lover, grammar geek.

http://h2co3.org

Submissions

comment 11y ago · link · parent

Yes, exactly. So this should probably be decided early.

comment 11y ago · link · parent

in the sense that an object is deallocated as soon as all pointers to it cease to exist.

comment 11y ago · link · parent

I can remove that option at any time, if it turns out to be an important enough issue :)

comment 11y ago · link · parent

Exactly, Sparkling uses reference counting, and one of the major TODOs is the introduction of weak references in order to address the issue of cycles.

comment 11y ago · link · parent

No problem – documentation may still be somewhat incomplete at some places, sorry for that.

comment 11y ago · link · parent

Hi, author here. Sparkling does have a modulo operator, it's spelled '%', just as in C (in fact, it maps directly to C's % operator).

comment 11y ago · link · parent

Why the hell would you even report something as a bug when the code that causes the crash has undefined behavior? Why do you expect UB to work? Seriously… just… WHY?

comment 11y ago · link · parent

Update: This is no longer working: https://imgur.com/uT1fCRT