Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
littlestymaar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
1831 ms
·
6211.
▲
RustBelt: Securing the Foundations of the Rust Programming Language
(ralfj.de)
6 points
by
littlestymaar
9y ago
|
0 comments
6212.
▲
Oracle Releases an OCI-Based Container Runtime Written in Rust
(thenewstack.io)
17 points
by
littlestymaar
9y ago
|
2 comments
6213.
▲
by
littlestymaar
9y ago
> My ideal solution here would be bindings to a Rust parser e.g. html5ever Funny how somebody submitted exactly this on HN a few hours ago : https://news.ycombinator.com/item?id=14591017
6214.
▲
by
littlestymaar
9y ago
Not the gp, but I think my own experience may also be relevant. Since the birth of Go it's been impossible for many years to create something like a thread-safe reusable hashmap[1], which is pretty annoying when all your code is multi-
6215.
▲
by
littlestymaar
9y ago
IMHO, this statement never hold for Maths : since all math reasoning is just the construction of a logical and symbolic proof based on a set of existing theorems and the underlying axioms, it requires the student to : 1. be familiar to the
6216.
▲
by
littlestymaar
9y ago
Why should you use a blocking mecanism for listening on a socket ? Non-blocking I/Os[1] (epoll on Linux) have been a thing for a long time now. [1] : https://en.wikipedia.org/wiki/Asynchronous_I/O
6217.
▲
by
littlestymaar
9y ago
> and things are shared via messages rather than direct threads, thus making it the thread's responsibility to be ready for incoming messages, makes it vastly, vastly easier to program in in practice. I kind of disagree, the Go mant
6218.
▲
by
littlestymaar
9y ago
This presentation is not about Kernel thread versus green thread, it's about threads vs events. In this regards, Goroutines are as bad as threads since it requires some synchronization witchcraft (channel or locks) and the author adv
6219.
▲
by
littlestymaar
9y ago
> alacritty (super fast because Rust) Super fast because of GPU-acceleration would be more realistic.
6220.
▲
by
littlestymaar
9y ago
See Russ Cox's (Go core team) blog post about Go's memory safety & data races : https://research.swtch.com/gorace
6221.
▲
by
littlestymaar
9y ago
> In contrast, there are many machines that simply can't host a JVM Well, if you're thinking in term of available resources, not really : most (if not every) chip on payment cards or SIM cards run Java[1] despite being incredib
6222.
▲
by
littlestymaar
9y ago
With the new optimizing compiler (Turbofan) landing, JavaScript `Exception` are now usable without significant performance penalty: great news ! A bit of context: v8 used to have troubles optimizing code which contained `try/catch` sec
6223.
▲
by
littlestymaar
9y ago
Null is a useful value, but you don't need it everywhere, that's why many modern languages have opt-in null-able types instead of that as a default behavior. I would argue than in at least 80% of the cases you don't want your
6224.
▲
by
littlestymaar
9y ago
To be fair, C also has drawbacks C: - error prone - Lack of modern typing (generics vs void pointer) - Lack of dependency management - no high level constructs - unintuitive semantics (undefined behaviors)
6225.
▲
by
littlestymaar
9y ago
Maybe you're hitting the same slow path in Firefox than this benchmark (see [1]). I used to work on an app that was 5 to 10 times slower in v8 than in SpiderMonkey, was it a proof that v8 was slower than SpiderMonkey ? No, we were actu
6226.
▲
by
littlestymaar
9y ago
> Every discussion about anything in Safari on HN, even if not at all related, for the last year or two has included multiple people complaining about the lack of WebRTC. > Now it's here and there is a new complaint /s WebRT
6227.
▲
by
littlestymaar
9y ago
> I won't want to abandon code just because v2.0 will get deprecated and shiny v3.0 will become the new standard next year. […] Forcing people to rewrite any code(esp. complex macros) will not gain Rust any goodwill longterm. That&#