Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
xfer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
361.
▲
by
xfer
8y ago
> Sure, C is great in its simplicity but the world has moved on to safer more powerful languages No it hasn't and i am not so sure, it ever will. Good to hear that you have moved onto Rust, but that anecdata doesn't mean the wo
362.
▲
by
xfer
8y ago
You don't need to learn assembly to learn how computer works(if you mean comp. arch). Assembly is already very high level language and hides most of the things that you learn by actually studying computer architecture. Reading the inte
363.
▲
by
xfer
8y ago
Well, you can just write a naive allocator that just bumps pointer and never deallocates things :). To appreciate stack vs heap, you have to learn a bit about memory management and some basic algorithms like dlmalloc, imho.
364.
▲
by
xfer
8y ago
No, it doesn't. Go does escape analysis and allocates stuff on heap if needed.
365.
▲
by
xfer
8y ago
Well, a lot of common functions like fetch* , write*, makeWrapper that are used in packages are undocumented. I usually dig into source files using nix repl to find the location.
366.
▲
by
xfer
8y ago
How good is the concurrency support? a lot of schemes have poor support for it(basically roll your own via libev), except racket.
367.
▲
by
xfer
8y ago
For me, the problem isn't so much with the nix language(it's very similar to haskell), but the lack of discoverability for docs of library. The manual is mostly incomplete and i often have to look at sources. My most favourite thi
368.
▲
by
xfer
8y ago
Because VSCode is a good enough program that fits their needs and the alternative that they were using was Visual Studio? How does that say anything about native frameworks?
369.
▲
by
xfer
8y ago
Obviously shorter to people who have done HTML/CSS/JS for some time, same with Qt/C++ or Qt/Python.
370.
▲
by
xfer
8y ago
Depends on where you live, google has country-based pricing. I pay half of what i would be paying fastmail.
371.
▲
by
xfer
8y ago
Saw this benchmark comparison between RPython vs Graal the other day: http://stefan-marr.de/papers/oopsla-marr-ducasse-meta-tracin... Is there a scheme implementation on graal vm?
372.
▲
by
xfer
8y ago
I only use screen/tmux when connecting to a server to preserve compile sessions/outputs.
373.
▲
by
xfer
8y ago
This isn't a legal takedown notice though, it's facebook's own system to keep the record producers happy. They can do this with impunity because facebook/google's system is designed to help them takedown without hav
374.
▲
by
xfer
8y ago
Well, productivity isn't everything, not everyone times all their activity in daily life and decides what to optimize for. Maybe the author has that time to invest on tooling and doesn't care about how he would save a couple of ho
375.
▲
by
xfer
8y ago
> This is not a very convincing argument and reads like standard HN Chinese astroturfing... Why is that not convincing, when you see how popular any ads related discussion in HN is(only yesterday something about brave browser..)?
376.
▲
by
xfer
8y ago
You can't copy technology, there is IP laws for that and you need clean-room design to circumvent that.
377.
▲
by
xfer
8y ago
I know procedural macros are different in how they work and more flexible, but the problem remains the same: you can't really look at any macro definition and go i know how to use this. A vector of tokens is not the syntax a programmer
378.
▲
by
xfer
8y ago
And how does that address this issue?
379.
▲
by
xfer
8y ago
> If you know how to call a function, you know how to use macros. Wrong, there are many macros that are impossible to grok without reading the docs carefully, there are also scoping rules. They are nowhere near at the usability of funct
380.
▲
by
xfer
8y ago
That still doesn't address the issue of macro syntax being foreign/not easy to refactor. See the nom library for an example.
381.
▲
by
xfer
8y ago
> C programmers tend to write their data structures themselves. Rust programmers tend to use packages. If you've determined that you need a linked list in Rust, you don't start writing one: you "use std::collections::Linke
382.
▲
by
xfer
8y ago
You don't think beginner's difficulty to use a language is worth criticizing considering a number of bike-shedding changes that are done to the language to make it easy for beginners?
383.
▲
by
xfer
8y ago
The tool/culture doesn't insist on this. One of the arguments for using languages like haskell is: it is easier to refactor your abstractions as necessary along the way, so you should just pick the one that works now, although th
384.
▲
by
xfer
8y ago
Judging from his nick, that's a troll alright.
385.
▲
by
xfer
8y ago
And? what does that have to do with javascript?
386.
▲
by
xfer
8y ago
I used to live near vancouver area, Fido/Koodo don't have good coverage, my university in Burnaby had 0 coverage for these networks.
387.
▲
by
xfer
8y ago
> Performance: better than native `ocaml` Maybe you could word it as native `ocaml` interpreter instead? Ocaml can compile to machine code.
388.
▲
by
xfer
8y ago
Definitely not for you, you should look into using C++ if all you do is floating point math routines.
389.
▲
by
xfer
8y ago
By random-access he means O(1) indexing, unlike lists. Yes, arrays works the same(but there is bounds-checking).
390.
▲
by
xfer
8y ago
That is not why these languages are popular. Types are your design document in languages with expressive type system. So by design you can make it hard to make logical errors.
More ›