Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
super_flanker
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
super_flanker
1mo ago
What is "linting efficiency", never heard of this term before?
2.
▲
by
super_flanker
1mo ago
> long before LLMs I thought this thread was about an ideal language for LLMs, no?
3.
▲
by
super_flanker
1mo ago
Why would you think so? Rust provide better type system and abstraction mechanisms compared to Go, hence equivalent system should have less lines of code, at least in from my experience.
4.
▲
by
super_flanker
7mo ago
This must be a sarcasm, right?
5.
▲
by
super_flanker
8mo ago
> I was referring to mandate to use it at big companies. I've worked in almost all of big tech, and these companies don't create mandate just because "Trust me bro" or to gain some "political achievements".
6.
▲
by
super_flanker
10mo ago
> It might be counterintuitive, but garbage collectors in multithreaded code can be very efficient. What has garbage collector to do with multithreaded code? Once you have two or more threads which needs to share data, they need to sync
7.
▲
by
super_flanker
10mo ago
No, you don't. All you need is to create a folder `bin` and any file with `main` fn in it will create a binary.
8.
▲
by
super_flanker
10mo ago
And tell me how that pointer semantics would do * a very strict type checking * Pattern matching * Algeberic data type Plenty of people don't write Rust for additional memory safety, they write Rust because the features provided by it
9.
▲
by
super_flanker
10mo ago
This, from my limited experience working on AOSP at Google, only the newer code were being written in Rust, not the existing code. But that was 2 years ago.
10.
▲
by
super_flanker
11mo ago
I agree with simplicity and ease of learning Go. > 3 years working with I might have had at most 3 times nil pointer crashes in prod I've been running a rust app for my personal trading app and a small service at a very large FAANG
11.
▲
by
super_flanker
1y ago
> Their goal is by end of year. It's like what 6-7 years since the goal was "end of the year".
12.
▲
by
super_flanker
1y ago
What exactly? I work at Instagram.
13.
▲
by
super_flanker
1y ago
Gotcha, yeah you got me there with so many `&`. Good one.
14.
▲
by
super_flanker
1y ago
It indeed doesn't look elegant, however I've never in my experience seen a usage like this. Do you have any reference where you might have seen this kind of usage.
15.
▲
by
super_flanker
2y ago
What's wrong with using 3rd party library? Can golang stop you from using a channel when it's consumed/closed?
16.
▲
by
super_flanker
2y ago
Just curious, which programming language allows preventing shared mutable state for out-of-process data?
17.
▲
by
super_flanker
2y ago
No, let me try to explain differently. If `compact_str` was not used, then your normal `String` would take 24 bytes of stack space (regardless of the string size) + heap space. What `compact_str` is trying to do is not use heap when string
18.
▲
by
super_flanker
2y ago
> Is there a good argument for actually using Rust for such things? Can't speak for the author, but I'd choose Rust over Go/Java/Python for such projects for following reason: * Rust is a more pleasant language to wor
19.
▲
by
super_flanker
2y ago
Reference Counting is a type of GC.
20.
▲
by
super_flanker
3y ago
Reference counting is a garbage collection strategy, otherwise python too would be non-gc language (cpython).
21.
▲
by
super_flanker
3y ago
How's your experience with Leptos so far? I gave it a try over a weekend for my pet project, felt that it's not ready for prime time yet, so decided to go ahead with Dioxus (which doesn't mean that it's more stable or an
22.
▲
by
super_flanker
3y ago
Could you please tell a bit more about your project, I'm very curious.
23.
▲
by
super_flanker
3y ago
> You won't get in any trouble as a tourist or business person 99% of the time. So there is 1% chance; and why would I take even 1% chance of getting into troubled country?
24.
▲
by
super_flanker
3y ago
Looks very impressive, I've been tinkering with this idea to have a Kotlin type of language which transpiles to Go, but didn't go past writing a parser. Kudos for working on it, I hope it gains some popularity.
25.
▲
by
super_flanker
3y ago
I have used Go for my day job, I'd say you can get the job done in Go. But the resulting code won't be as elegant as you could do in Rust. I'd chose Rust just because how good the type system is: sum type, pattern matching, i
26.
▲
by
super_flanker
3y ago
> You're a known troll spamming Can you accept even one criticism? Everyone who dares to say anything negative is a troll in your book.
27.
▲
by
super_flanker
3y ago
Great work, looks very simple and neat. I'm gonna use it today to see how does it suit my eyes. Do you have any plans for dark mode?
28.
▲
by
super_flanker
3y ago
> rustup fetches and installs new versions without prompting I don't think it's true. rustup installs new version only when you run `rustup update`. What parent is talking about is pinning a particular rustc version in Cargo.to
29.
▲
by
super_flanker
3y ago
It could be different for other teams, but in my team we spend a lot of time writing design docs, discussing new features (which we never end up implementing), taking a lot of time in code reviews, making sure that public changes are backwa
30.
▲
by
super_flanker
3y ago
I agree, but Google is the slowest.
More ›