Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
frigid
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
frigid
3y ago
You don't want nimterop, you want futhark ( https://github.com/PMunch/futhark ). The C FFI Nim library lineage goes c2nim --> nimterop --> something i forgot --> futhark.
2.
▲
by
frigid
3y ago
Well, it has a runtime. Checking and updating the reference count (more so the latter) is not zero-cost. This runtime is just deterministic. Of course, then do we have the same definition of runtime (I would take it to mean any extra memo
3.
▲
by
frigid
3y ago
Koka is garbage collected. There are several terminology ambiguities in play: the documentation takes "garbage collection" to refer to tracing garbage collection as opposed to runtime cost of any sort, which while common in some
4.
▲
by
frigid
4y ago
(for inconsistent usage) As background, style insensitivity was introduced so that codebases can use a consistent camelCase or snake_case regardless of the style used by upstream libraries.
5.
▲
by
frigid
4y ago
It certainly adds (some, not many thanks to static analysis) runtime checks, but it's also fairly distinguished from typical tracing garbage collection by being deterministic. I believe ARC/ORC also works with a shared heap via &q
6.
▲
by
frigid
4y ago
It's a bunch of people who like working on the compiler, working on the compiler. Nim proper doesn't have as much flexibility to make breaking changes, and this has limited much-needed internal refactoring. There was a falling out
7.
▲
by
frigid
4y ago
One really important thing I forgot to mention is how extendable Nim is - first class support for macros and AST manipulation is very powerful. This cuts back significantly on the amount of functionality that needs compiler magic. So you&
8.
▲
by
frigid
4y ago
I particularly like, from the syntax side: - Python-style syntax with significant indentation - Uniform Function Call Syntax: a.len() == a.len == len(a) - Fully unqualified imports by default: which might seem scary to Python programmers, b
9.
▲
by
frigid
4y ago
This is excellent. I think https://www.internetingishard.com/html-and-css/ complements it well as an introductory tutorial to HTML/CSS.
10.
▲
The X4ivygA51F Rabbit Hole (2020)
(rohanverma.net)
29 points
by
frigid
5y ago
|
7 comments