Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Ygg2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
391.
▲
by
Ygg2
1y ago
Not that it stopped people in the past from adding their own. See JS.
392.
▲
by
Ygg2
1y ago
If you have a place to write, then it's not zero allocation. You did an allocation. And usually if you want maximum performance, buffered read is the way to go, which means you need a write slab allocation.
393.
▲
by
Ygg2
1y ago
Theoretically yes. Practically there is character escaping. That kills any non-allocation dreams. Moment you have "Hi \uxxxx isn't the UTF nice?" you will probably have to allocate. If source is read-only you have to allocate
394.
▲
by
Ygg2
1y ago
What is the point of this book this early? Zig is in too much flux. Language is 0.x for a reason. Just to gauge interest?
395.
▲
by
Ygg2
1y ago
Limits are more important than implied. Language benchmarks, computer game performance.
396.
▲
by
Ygg2
1y ago
It's a bold strategy - let's see if it works out for them. But from what I remember, this still uses the LLVM backend, right? Sure, you can beat LLVM on compilation speed and number of platforms supported, but when it comes to emi
397.
▲
by
Ygg2
1y ago
> C++ is much more safe than C The issue Mozilla faced wasn't that it wasn't safer than C. It's that it was not safe enough for their needs. A chainsaw is safer than a saw blade; you still don't want to trim your bear
398.
▲
by
Ygg2
1y ago
> My account is throttled by Hacker News moderators. Seems most accounts are throttled 2posts per hour. Mine included. > Edit (for Ygg2): What you think is superficial is an entire portion of the art of software development. And your
399.
▲
by
Ygg2
1y ago
> They didn't like C/C++ Riiiight. You do realize they made syntax similar to C/C++ on purpose to ease Mozilla's C/C++ programmers into it. It's not that they didn't like it; it's that C/C++ i
400.
▲
by
Ygg2
1y ago
Because it's an extremely subjective, extremely superficial statement that does more FUD than it explains.
401.
▲
by
Ygg2
1y ago
> Also get over it. We got post-processor things like static analyzers, etc, and whatever AI code reminders/fixers that are coming up next. Sure. But unless it's part of compiler, someone will not run it, or will run out of res
402.
▲
by
Ygg2
1y ago
> If I use defer I'd just need the keyword defer and the free() code. Yeah, and not accidentally forgetting to call it. That's the big part. And before "True Scotsman will always free/close/defer!" - No, no
403.
▲
by
Ygg2
1y ago
> and no, a 50 line comment block with a German transcription of the code below is not documentation You had it good back then. Now it's a one-line comment in Chinese. Line is 300 characters wide. /Yorkshire men skit.
404.
▲
by
Ygg2
1y ago
Most likely nothing. No one knows. As someone that was very gung ho on autonomous vehicles a decade ago, the chances of completely replacing people with AI in next ten years is small.
405.
▲
by
Ygg2
1y ago
> When casey muratori of the handmade network said the same thing I remember agreeing and he got made fun of for it. Casey Muratori, while a great programmer in his own right, often disregards the use cases, which leads to apple-to-orang
406.
▲
by
Ygg2
1y ago
> The second you detach the consumer from the price of something, even through an intermediary such as health insurance, that is when they stop caring about how much something costs, and so the price jumps. That's not the only probl
407.
▲
by
Ygg2
1y ago
Servo has to interact a lot with a JS runtime, and it needs to be done in a thread safe and concurrent manner. Plus the html processing needs to be Arc as well, so that tracks.
408.
▲
by
Ygg2
1y ago
Nah. Just learn to think like it.
409.
▲
by
Ygg2
1y ago
> > Seasoned Rust coders don’t spend time fighting the borrow checker > No true scotsman would ever be confused by the borrow checker. I'd take that No true scotsman over the "Real C programmers write code without CVE&quo
410.
▲
by
Ygg2
1y ago
I'm not an idiot either. But past and future me get to be idiots from time to time. Alcohol and lack of sleep are a helluva mind cripplers.
411.
▲
by
Ygg2
1y ago
Knowing the author it can only mean OpenGL/EGL and similar. They ranted/vented about OpenGL sucking and DirectX being best thing since butter on toast was invented.
412.
▲
Why everything is so extreme?
(youtube.com)
2 points
by
Ygg2
1y ago
|
0 comments
413.
▲
by
Ygg2
1y ago
> But how do we scale that to 1000 dependencies, and every one of their updates? What tools are there to help us, and does the community at large use them? Use cargo install cargo-supply-chain cargo supply-chain --publishers
414.
▲
by
Ygg2
1y ago
Yeah, and Java was always corporately funded, and to my knowledge no one really used neither the http client nor the XML parser. You basically have a collection of dead weight libs, that people have to begrudgingly maintain. Granted some (J
415.
▲
by
Ygg2
1y ago
You have 30 items you bought from various stores. You bought ~20 from yourself, around 5 from Google, 4 from hsivonen and one from servo. You could of course investigate individuals commits, but that's probably an overkill.
416.
▲
by
Ygg2
1y ago
> Standard libraries should include everything needed to interact with modern systems. So, databases? Which then begs the question, which - Postgres, MySQL, SQLite, MS SQL, etc.? And some NoSQL, because modern systems might need it. That
417.
▲
by
Ygg2
1y ago
> Right. Allowing 500 strangers to push code to our CI infra That's bullshit, pure and simple. If you pull in a deeply nested dependency like icu_normalizer it has 30 dependencies, OMGHAXOZRS. I'm doing this, so I don't ha
418.
▲
by
Ygg2
1y ago
Yeah. You have dev dependencies in there, those alone will increase number of dependencies by ~500, without ending up in the final product. Those numbers are way off their actual number.
419.
▲
by
Ygg2
1y ago
Used milk carton. It probably has more TFlops than Commodore 64.
420.
▲
by
Ygg2
1y ago
> Dunno, hanging out in the Odin discord, it definitely attracts a crowd that thinks similarly to Bill. Sure, hence the big enough part. If you get big enough, you'll get people who are using it as a day job language, not their spec
More ›