Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
drogus
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
drogus
2mo ago
I don't have an obsession with you. I haven't read the entirety of your social media presence, but almost every time I see a discussion about Rust on Twitter, especially involving Fil-C, I see your criticism of Rust, without much
2.
▲
Memory safety absolutists
(itsallaboutthebit.com)
134 points
by
drogus
2mo ago
|
259 comments
3.
▲
by
drogus
8mo ago
I think it's a mix of people being actually hyped and wishing this is the future. For me, productivity gains are mostly in areas where I don't have expertise (but the downside, of course, is I don't learn much if I let AI do
4.
▲
by
drogus
9mo ago
> you have to understand almost all of the language very intimately to be a productive programmer, I've seen absolute Rust noobs write production code in Rust, I have no idea where did you get that notion from. Most of the apps I&#x
5.
▲
by
drogus
9mo ago
Worker threads can't handle I/O, so a single process Node.js app will still have the connection limit much lower than languages where you can handle I/O on multiple threads. Obviously, the second thing you mention, ie. multip
6.
▲
by
drogus
10mo ago
What kind of reality check would it be when the original sudo got two even more serious security issues this year, even though it's "tried and tested"?
7.
▲
by
drogus
10mo ago
There were two very serious issues in original sudo this year. I can't find much info about them on HN.
8.
▲
by
drogus
11mo ago
I can't tell if you're being serious or not
9.
▲
by
drogus
1y ago
I love WASM and WASI, but it's not nearly the same, unfortunately. Performance takes a hit, you can't use async in a straightforward way, launching hundreds of thousands of tasks is problematic etc. WASM is great for allowing to e
10.
▲
by
drogus
1y ago
In my experience it really depends on the situation. For stable APIs that have been around for years, sure, it doesn't really matter that much. But if you try to use a library that had significant changes after the cutoff, the models t
11.
▲
by
drogus
1y ago
While I agree with the sentiment here, ie. that Ruby doesn't necessarily need namespaces, I think it's also not necessarily good to base Ruby usage on what Shopify is doing. They have so many expert Ruby devs, and whole teams that
12.
▲
by
drogus
2y ago
Have you ever written a web app in Rust? Most of the code is in a form of handlers that receive data, process the data and give some data back. There is rarely need to think about lifetimes or borrowing in these scenarios.
13.
▲
by
drogus
2y ago
"the community" meaning one weirdo commenter you've seen on HN? Cause I can assure you no people I know in the Rust community think that way. Personally I would really like to code some stuff in Zig if I had more time. It
14.
▲
by
drogus
2y ago
At some point there was a discussion about compile time reflection, which I guess could include functionality like that, but I think the topic died along with some kind of drama around it. Quite a bummer, cause things like serde would have
15.
▲
by
drogus
2y ago
Hard to say at this point, but I really doubt it will be ever faster than SpiderMonkey or V8 with JIT enabled. Modern JavaScript compilers are quite good at optimizing hot paths through JIT. The use case of this project is to be able to run
16.
▲
by
drogus
2y ago
Rust is often used for things that you wouldn't necessarily use C++, though. Web backends (but mostly APIs at least as far as I've seen), CLI tools, various bots (like at my day job we have a Discord bot written in Rust) etc.
17.
▲
by
drogus
2y ago
Yup, that's something that I would definitely like to do. In performance critical applications adding type information can speed up things quite a lot, especially when you think about numbers. At the moment I have to pass numbers as st
18.
▲
by
drogus
2y ago
Coming from an actual JAWS user that has a lot more validity and if you say it will make it harder for people, I will definitely consider changing the name. I actually like Jawsm or JAWSM, so if @benmccann is fine with it, I will probably r
19.
▲
by
drogus
2y ago
I haven't seen Wasmnizer before. This looks like a cool project and I'll be definitely taking a closer look when I have some time, but for now I just took a quick peek. The main difference is obviously TypeScript vs JavaScript. Be
20.
▲
by
drogus
2y ago
I haven't seen Static Hermes before, I'll take a look, thanks for the link! With regards to porffor. It's a very good project and people behind it are probably much better at writing interpreters/compilers, but the bigge
21.
▲
by
drogus
2y ago
Hyped and visible on socials doesn't necessarily mean it's widely used, but I guess it also depends on how you define widely. According to most stats I've seen Rust usage is maybe about 5-10% of languages like JavaScript and
22.
▲
by
drogus
2y ago
Haha, I haven't even noticed it doesn't make too much sense when I was writing the title :D
23.
▲
by
drogus
2y ago
Just one more compiler, bro. Just one more, I promise. This is the last one, just one more
24.
▲
by
drogus
2y ago
thanks for reporting and sorry about that! I was prepending some JavaScript code to be compiled for test262 harness before, but at the moment it was just an empty file, so I removed it and pushed a fix. Please try again now and let me know
25.
▲
by
drogus
2y ago
Thanks! Although, to be fair, it's a clever use mostly cause I'm too dumb to write the full interpreter on top of WASM lol
26.
▲
by
drogus
2y ago
Nice! I'll definitely take a look!
27.
▲
by
drogus
2y ago
Yeah, at the moment it's passing about 12% of tests, but there is a lot of low hanging fruits to implement, especially considering I started the project two weeks ago. This doesn't mean I will hit 100% in linear time, unfortunatel
28.
▲
by
drogus
2y ago
Not yet, it's very early stage where I'm mostly implementing full JavaScript semantics (and hopefully finding some funding/support for the project), but as soon as I'm done with async/await and a few simpler missing
29.
▲
by
drogus
2y ago
Oh, thanks for the clarification, I somehow thought Bun is also V8!
30.
▲
by
drogus
2y ago
I am painfully aware the project will never be the first hit in Google by just typing it's name lol Btw, I am very bad at naming, I chose the name cause it has most of the letters that "JS-WASM" has (or all of them if you con
More ›