Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
H2CO3
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
H2CO3
11y ago
Yes, exactly. So this should probably be decided early.
2.
▲
by
H2CO3
11y ago
in the sense that an object is deallocated as soon as all pointers to it cease to exist.
3.
▲
by
H2CO3
11y ago
I can remove that option at any time, if it turns out to be an important enough issue :)
4.
▲
by
H2CO3
11y ago
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.
5.
▲
by
H2CO3
11y ago
No problem – documentation may still be somewhat incomplete at some places, sorry for that.
6.
▲
by
H2CO3
11y ago
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).
7.
▲
by
H2CO3
11y ago
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?
8.
▲
by
H2CO3
11y ago
Update: This is no longer working: https://imgur.com/uT1fCRT