Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rlp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
rlp
6y ago
Julia's ahead-of-time compilation story is not great. If you just want a single executable, it's kind of a pain, and there are all sorts of caveats. I think it's slowly getting better, though, but the language really wasn
32.
▲
by
rlp
6y ago
I'm a big fan of Nim, but I really wish it supported cyclic type declarations in separate files and out-of-order functions without forward declarations. As it is, I'm constantly structuring things around those limitations. Big pro
33.
▲
by
rlp
6y ago
No, they aren't. That's why those two were called out. Not sure how IHME's mistakes come in to play here. If they are making mistakes, they should be called out as well.
34.
▲
by
rlp
6y ago
But those doctors clearly don't have a good grasp of basic statistics. You cannot extrapolate cases for a whole state based on test results from a non-random sampling of people. They are making a basic error and claiming to be experts,
35.
▲
by
rlp
7y ago
It's not exactly an industrial-strength GC, but Nim uses TLSF to reduce fragmentation: http://www.gii.upv.es/tlsf/ . I'm not sure how that compares to the strategy in the article, though.
36.
▲
by
rlp
7y ago
Same, janky scrolling in Chrome and Firefox.
37.
▲
by
rlp
7y ago
It's a header-only library, it would effectively add "using" statements anything that included the library.
38.
▲
by
rlp
7y ago
The author of this also created the excellent Sokol cross-platform graphics/sound library, which is being used here. https://github.com/floooh/sokol
39.
▲
by
rlp
7y ago
See linear probing hash tables, the items are stored directly in the main array with no linked lists.
40.
▲
Top U.S. Tech Companies Begin to Cut Off Vital Huawei Supplies
(bloomberg.com)
11 points
by
rlp
7y ago
|
0 comments
41.
▲
by
rlp
8y ago
Well, I would say that it highly depends on your workload. .NET's biggest performance win is lower-level memory management, like structs and Spans. If you can use those to avoid allocations and improve memory locality in your critica
42.
▲
by
rlp
8y ago
You're technically right, but that's potentially an enormous task. If we're comparing Unity with Unreal functionality, integrating a scripting language should include editor integration, debugging, etc. I'd rather spen
43.
▲
by
rlp
8y ago
Well, I've used both extensively, and they are good at different things. Unreal is far better IF you fit cleanly into one of their templates (first person, third person, etc). Superior renderer with great built-in post effects, FAR b
44.
▲
by
rlp
8y ago
I would suggest SBCL if you're going with Common Lisp, although Clojure + libgdx could be an interesting combination.
45.
▲
by
rlp
9y ago
The first letter of a Nim identifier is case sensitive, it's just the rest that aren't.
46.
▲
by
rlp
9y ago
This is not accurate. C++ has statically enforced private variables that cannot be modified by outside functions without fairly painful workarounds and castings. But, if you want to say that the ability to do those castings would disqual
47.
▲
by
rlp
9y ago
Is there a better alternative to CMake? I find its syntax painful and inconsistent, but once a project is configured, it works reasonably well for producing cross-platform builds.
48.
▲
by
rlp
9y ago
I couldn't find anything on this either. The assembly emitters in their repo don't suggest a WASM backend: https://github.com/ocaml/ocaml/tree/trunk/asmcomp
49.
▲
by
rlp
9y ago
LGPL does not allow static linking. From Qt's legal page: In case of dynamic linking, it is possible, but not mandatory, to keep application source code proprietary as long as it is “work that uses the library” – typically achieved vi
50.
▲
by
rlp
9y ago
For learning Reason, I found this page invaluable: https://reasonml.github.io/try You can put in Reason or OCaml and it will spit out the other. I used it to work through Real World OCaml in Reason.
51.
▲
by
rlp
9y ago
This is a common story in many countries, a fear of the rich immigrants/expats "taking over" while simultaneously finding ways of profiting off of their money. I've seen similar situations in many Asian countries with m
52.
▲
by
rlp
9y ago
Even in game development in C/C++, you wouldn't want to be allocating/deleting heap objects in every frame. You'd probably end up pooling there too, unless you're referring to the problem that the JVM has no value
53.
▲
by
rlp
9y ago
Do you find LuaJIT much faster than a JavaScript engine like V8? That used to be true, but I was under the impression that V8 had basically caught up (unless you need to make a lot of FFI calls, since LuaJIT is heavily optimized for that).
54.
▲
by
rlp
9y ago
I think React is actually quite sane to use now. However, if you're looking for the future, you may want to check out Web Components and Polymer: https://www.polymer-project.org
55.
▲
by
rlp
10y ago
I agree, MobX felt much more natural to me when dealing with CRUD-style apps, there was very little boilerplate. Redux is great for apps with extremely complex workflows, but that's fairly rare in my experience.
56.
▲
by
rlp
10y ago
Sarno's program completely cured my RSI. My highly-regarded surgeon was ready to operate for cubital tunnel, which had been getting progressively worse for about 2 years. I was to the point that I would feel pain all the time while t
57.
▲
by
rlp
10y ago
I love Atom, but it is noticeably slower than VS Code when editing, especially when autocomplete is involved.
58.
▲
by
rlp
11y ago
Love the name! But there's no way Go's feeble type system supports anything remotely like a Monad.
59.
▲
by
rlp
12y ago
Try clicking the Show All Files button at the top of the solution explorer. It will show everything by folder, which I think is what you're looking for.
60.
▲
by
rlp
12y ago
I'm not a huge fan of promises on their own. I think they are clearer than straight callbacks, but it gets confusing as you do more complex things. However, they really start to shine when combined with generators. Being able to yie
More ›