Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
stymaar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
631.
▲
by
stymaar
10y ago
> In fact I find double-free safer because it usually crashes (and in my code I do checks so it almost certainly crashes) You don't know what an undefined behavior is, do you ? You cannot be sure it crashes since the compiler is all
632.
▲
by
stymaar
10y ago
> For example, if a feature is used every day for a year by 10,000 people, speeding it up by 200ms is worth over a month of developer time (200ms for 10,000 people over a year is 203 hours of time wasted, which is about 25 8-hour days, o
633.
▲
by
stymaar
10y ago
They are. And they are also working on having full multi-threading (thanks to SharedArrayBuffer).
634.
▲
by
stymaar
10y ago
> You have to fix my code one day I'm on vacation. > You think that it's ugly, and rewrite it as a map. Well, if your colleagues do that, their is a social problem in your company, and I'm not sure a langague has anythi
635.
▲
by
stymaar
10y ago
> Chrome is becoming the browser of the masses. Well it's clearely been targeting the masses since the beginning.
636.
▲
by
stymaar
10y ago
Is that also going to disappear from atom and other electron apps ? Or is this feature re-implemented in electron itself ?
637.
▲
by
stymaar
10y ago
I think gp meant that for some platforms it can make sense to count even 0.x releases (nodejs is the best example I think), even though for most it doesn't (including Rust and Go).
638.
▲
by
stymaar
10y ago
Exactly: Having a developer working on windows was a blessing since it allowed someone in the team to test on EI11 before we shipped to the product team, and it really improved our reactivity on this plateform. It wasn't our main tar
639.
▲
by
stymaar
10y ago
In my previous job, we had some bash scripts for a lot of things. It worked pretty well among Linux and Mac users in the team, but one day we had a new developer who was a windows user … We rewritten all those scripts in JavaScript using Gr
640.
▲
by
stymaar
10y ago
I've been using mostly javascript (node + browser-side) professionally and I really enjoy Rust. Learning it was a really cool experience because it made me discover a lot of low-level things I wasn't aware of, and ah the same time
641.
▲
by
stymaar
10y ago
Yes, and for terrorists that's what I call «highly trained». Remember, last year a terror attack failed in France because the guy just accidentally shot himself in the leg ! Most terror attack in western countries where commited by l
642.
▲
by
stymaar
10y ago
Fair point, but most likely it would have been ineffective. sept 11 was led by highly trained and organized people belonging to a large group. Had the american government taken actions against hijacking with knifes, and they would probably
643.
▲
by
stymaar
10y ago
Slightly off-topic: BurntSushi wrote a Go binding[1] for the Rust regex engine[2] (he is also the author) which shares the same approach (finite automata) but has a more polished, highly optimized implementation. It could be useful in some
644.
▲
by
stymaar
10y ago
Low latency is like a car with an autonomy of 20000km (12000 miles) but a speed limit of 80km/h (50mph) : pretty slow (low throughput) but no ennoying pauses when you drive from NYC to SF. Balanced throughput and latency mean you have
645.
▲
by
stymaar
10y ago
Maybe it's too expensive ($88 a year versus 30 for Vélib in Paris), or maybe it's also a matter of urbanization : european city have a bigger population density than US ones, which makes it easier to commute with a bike because th
646.
▲
by
stymaar
10y ago
I don't know if LBO funds are doing this already but I think it's most likely going to become a trend in the future : - buy a SaaS company which hosts all its infra on the cloud - move everything to bare metal - double the company
647.
▲
by
stymaar
10y ago
I agree with d), but I'm quite skeptical about the other 3. a) and c) means it's portable on everything a JS VM runs on, which is not that much more than what Go runs on. b) is legit, but that really sounds like an overkill.
648.
▲
by
stymaar
10y ago
> You're confusing concurrency and parallelism. I'm not, it's just that the most appealing feature of Go is it's ability to use parallelism for concurrency with a decent overhead, which makes it straightforward to sca
649.
▲
by
stymaar
10y ago
I'm not sure I see any interest in that tbh: what's the point of porting a memory-safe (with GC and runtime) on a VM especially dedicated to remove the costly memory safety part of JavaScript. Plus, the concurrent model of Go does
650.
▲
by
stymaar
10y ago
> Ask yourself this: if resizeable, relocatable stacks were a freebie (i.e. already provided, or because there was 0 desire to support a pre-existing calling convention and most of the instrumentation needed for moving stacks was preorda
651.
▲
by
stymaar
10y ago
> For front page rankings time matters more than total votes Yes, but it's not the only thing at stake because you often see more recent and more up-voted posts being below older and less up-voted ones.
652.
▲
by
stymaar
10y ago
> No, it really isn't. There are much lower risk options than stocks or bonds that are liquid. Yes, what you want is the repo market, or the eurodollar market. But wait, see what happend on these market during the last crisis ? If y
653.
▲
by
stymaar
10y ago
> Maybe algebraic data types would be more suitable. There is no opposition between ADT and generics. In fact most language that have ADT have generics… > In Go, you don't have subclassing, so you cannot implement YourClass<T
654.
▲
by
stymaar
10y ago
Even the compilation speed is not a problem related to generics themself, it's a problem related to monomorphisation. If you keep dynamic dispatch, you pay almost no compilation penalty.
655.
▲
by
stymaar
10y ago
> I wish rust were smart enough to make the functions put the values directly in the caller's stack frame. That's one reason why macros exist. > I thought maybe macros would help here, since there is no new stack frame, but
656.
▲
by
stymaar
10y ago
I spent years before understanding how shorthands like e10s or i18n (InternationalizatioN) worked, and it was only when I heard about Andreessen Horowitz (a16z) that I understood …
657.
▲
by
stymaar
10y ago
> Downloading Youtube videos, except with Youtube Red, is a breach of contract. Too bad, then every single user of Youtube is violating this rule: the browser needs to download the video to play it, streaming is just the act of automatic
658.
▲
by
stymaar
10y ago
Finfrog | front-end developer and back-end engineer | Paris (France) | REMOTE https://finfrog.fr Finfrog is a fintech startup providing micro-credits without hassle or paperwork, opening the credit market to people who are often
659.
▲
by
stymaar
10y ago
You're right and wrong at the same time: - Technically REST and HTTP are two different things, I totally agree with you. - Historically, before REST became popular, people where doing complete nonsense on top of HTTP, with no respect o
660.
▲
by
stymaar
10y ago
> Circumventing the Youtube's restrictions is though. That's exactly my point: it's not. It may be bad for Youtube's business, but it's not morally wrong. We owe nothing to Google.
More ›