Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
netbioserror
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
63 ms
·
451.
▲
by
netbioserror
3y ago
Let me know when truly calorie-dense foods like potatoes, corn, and wheat are finally profitable to grow indoors. All I see thus far is lots of LED-fed salad.
452.
▲
by
netbioserror
3y ago
I'm from a Hispanic family which is by and large bilingual and uses quite a lot of Spanglish at family events. However, I was raised monolingual, with English. My parents say they sometimes regret not teaching me Spanish. But, on they
453.
▲
by
netbioserror
3y ago
In economics, the closest analogy might be economic substitutes. Who was to predict that electricity would displace oil lamps but the electric pioneers? The car to replace the horse-drawn carriage? Internal combustion to replace steam? The
454.
▲
by
netbioserror
4y ago
Why not try doing the exercises in Janet? It gives you the end-product goal so you don't have to waste energy on ideation, but having to figure out syntactic differences and compatible standard library functions and macros yourself rea
455.
▲
by
netbioserror
4y ago
What a profoundly naive opinion. Most people find meaning, fulfillment, even contentment in working, especially when the problems are engaging and the solutions produce value. Many people claim their lives would be better if they never had
456.
▲
by
netbioserror
4y ago
Technology develops, but our psychology changes very little. Evolution is slow. Every new idealistic framework for constructing a society inevitably proposes a hypothetical "new man" who lionizes those values and possesses the ide
457.
▲
by
netbioserror
4y ago
>If you don't like Rust, don't use it. No one is forcing anyone. To be immediately followed by >Marginal systems language (D/Nim/V/Go/Odin/Vale) is useless bikeshedding and has no corporate backer, w
458.
▲
by
netbioserror
4y ago
C and C++ both have very popular GC libraries which fulfill much the same purpose and even have the same design (the optional Boehm GC, for example). Those are likely good examples to look at to see how managed memory might be invoked by th
459.
▲
by
netbioserror
4y ago
These examples apply to a codebase...how?
460.
▲
by
netbioserror
4y ago
Nim uses C/C++/Obj-C as a sort of abstracted assembly. While it's possible to follow the generated code with some formatting and effort, it's made to be optimally machine-parsable and optimizable. I suggest giving Nim a
461.
▲
by
netbioserror
4y ago
The GC is a set of data structures and functions which are included in the compiled C/C++ source and which are called by the generated code.
462.
▲
by
netbioserror
4y ago
Always a chuckle to see how elementary and vacuous the median political analysis of the "intellectual" HN readership is.
463.
▲
by
netbioserror
4y ago
If not having to clutter code with memory semantics isn’t enough of a case, I could gush about UFCS abrogating the need for interfaces, or Nimble and the dead-simple module and export system (and not needing to scatter ‘pub mod’ files all o
464.
▲
by
netbioserror
4y ago
Part of my purpose with my OP was pointing out that the limiting factor for performance is not GC. When developers are coming from JavaScript and Python, the dominating performance factors are interpreting and dynamic typing. For native-com
465.
▲
by
netbioserror
4y ago
A great point. As I’ve commented before though, watching webdevs get excited for it, or “rewrite it in Rust,” or developers contort it to try and do things it shouldn’t is sort of morbid from a distance. I’m sure Darwin will work his magic
466.
▲
by
netbioserror
4y ago
I think your comment can actually help me clarify what I meant. My perception is that there is a rift between what domains Rust is targeting versus what audience is actually hyped about Rust. When I look to the C++ world and the embedded&#x
467.
▲
by
netbioserror
4y ago
> This is some weird gatekeep-y kinda thing. Most of us didn't start out with low-level programming. Wouldn't it have been odd and frustrating for someone to tell your younger self that you have "never written C and probab
468.
▲
by
netbioserror
4y ago
https://zevv.nl/nim-memory/ Local variables (also called automatic variables) are the default method by which Nim stores your variables and data. Nim will reserve space for your variable on the stack, and it wil
469.
▲
by
netbioserror
4y ago
It's still bizarre though that Rust is capturing such ridiculous mindshare. I suspect it has a lot to do with web developers being plugged into Mozilla, and Mozilla spending quite a lot on Rust development and marketing. And Zig may be
470.
▲
by
netbioserror
4y ago
One of these days I'll be able to try embedded Nim with no GC. I want to see what its arena allocation semantics are like.
471.
▲
by
netbioserror
4y ago
Still not convinced that memory semantics are critical in the vast majority of domains. Incredibly fast speeds can be achieved with simple GC and RC for short-running programs, and programs with sustained runtimes can rely on generational G
472.
▲
by
netbioserror
4y ago
It's the iron law of oligarchy. In democracies, politicians need to constantly justify their existence or people might question how their taxes are spent. If you're a sociopath after money and power (elected and appointed roles se
473.
▲
by
netbioserror
4y ago
Treating news like Internet forums, and viewing almost all published media as bloviating bullshittery, has done wonders for my mental well-being. It's all water under the bridge, and I only open my cistern gate when power motivations a
474.
▲
by
netbioserror
4y ago
In a way, yes. People flee into assets and commodities they see as "vaults" when they're uncertain, or that they see as rocket ships when they're greedy; this is why their prices rise. The inflation from the liquidity in
475.
▲
by
netbioserror
4y ago
If money is not injected into some static immobile "vault" (the whole point of a bailout or liquidity injection is for it to flow outwards), then it is going to be spent. For example, bailed out companies treat the cash injection
476.
▲
by
netbioserror
4y ago
Do you mind having a "Why a new language?" primer with some deeper philosophy on your choices? I will never question anyone's desire to make a language for learning or hobby. However, when presenting it to the world for pract
477.
▲
by
netbioserror
4y ago
Truly hideous and a blight on the eyes. I wonder what majesties of modernist and post-modernist architecture the architect lives and works in? I’ll try not to laugh when I find out.
478.
▲
by
netbioserror
4y ago
I didn't say that anyone should switch (see my preface), and I perfectly well understand this point. Having to retread this point over and over just serves to make our comments long and redundant and full of qualifiers, but I guess her
479.
▲
by
netbioserror
4y ago
Preface: I don't just want to crap on Python here and sell Nim. I like Python, and still use it. But it still shocks me just how much money and manpower is thrown at trying to bikeshed and optimize and compile Python and its libraries,