Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tyoverby
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
tyoverby
10y ago
(2) is why I'm so happy for Gc<T>. Also, if my graph is going to be short-lived, I've had success just allocing up an Arena<T>, making as many cycles as I want, and then collecting the whole thing at once after my comp
32.
▲
by
tyoverby
10y ago
In the rust world "unsafe" is synonymous with "isn't proven to be safe by the compiler". Under this definition, every C/C++ program that uses pointers is "unsafe" because the languages make no memory
33.
▲
by
tyoverby
10y ago
When most people ask for a linked list data structure, they probably don't mean "a vector of elements and a linked list of indexes into that vector" because it totally defeats the purpose of using a linked list in the first p
34.
▲
by
tyoverby
10y ago
And .org files
35.
▲
by
tyoverby
10y ago
Typical benchmarks for jitted languages like javascript don't include the jitting in their numbers. Jits can beat C in performance in situations where understanding how the program behaves at runtime influences code generation optimiza
36.
▲
by
tyoverby
10y ago
Apples handling of Vulcan / Metal should be a colossal embarrassment.
37.
▲
by
tyoverby
10y ago
> allow people to take up other jobs What jobs are these? Why aren't they "taking up" these other jobs without the influence of AI and automation? Maybe these new jobs that they are "allowed to take up" are wors
38.
▲
by
tyoverby
10y ago
glibc is a library that is used by countless programming languages. The question of "how do languages with a focus on safety deal with the unsafety of glibc" is a perfectly valid question.
39.
▲
by
tyoverby
10y ago
The big difference with `tests/` is that they have to be integration tests. This means that you can't test private functions from there.
40.
▲
by
tyoverby
10y ago
Not unless you want to compile the JVM to webassembly and load a it on every pageview.
41.
▲
by
tyoverby
10y ago
I've always wondered what that building was! Looks really cool from the freeway too.
42.
▲
by
tyoverby
10y ago
Did you read the article? > Airbnb said it would also accelerate the use of instant bookings, which lets renters book places immediately without host approval. The fact that the author of your parent-comment does go through and approve
43.
▲
by
tyoverby
10y ago
I'm not the person that you responded to, but C# has a nice scripting API and repl.
44.
▲
by
tyoverby
10y ago
You are correct in assuming that the assignment would be a type error. Similar to other languages, you'd have to allocate. In rust, it would probably look like: let mut fut: Box<Future<()>> = Box::new(Future<()>
45.
▲
by
tyoverby
10y ago
I'd argue that Go is much closer to Javascript than it is to C/C++.
46.
▲
by
tyoverby
10y ago
> And for those unhappy in the present day, virtual reality might provide an escape into an immersive other world that "allows them to forget their chronic pain, anxiety, the fact that they are alone," Kim says. Maybe I should
47.
▲
by
tyoverby
10y ago
There is no link to the Test Pilot plugin, and it's not available in the store. I'd like to help, but you need to make it easy :(
48.
▲
by
tyoverby
11y ago
C# does not have lazy argument evaluation. Arguments are fully evaluated for each call.
49.
▲
by
tyoverby
11y ago
Rust has very good support for shared-state concurrency. In fact, the borrow-checker is used to enforce invariants about locks and mutices that make shared- mutable -state a compile-time error.
50.
▲
by
tyoverby
11y ago
What happens if someone that hasn't downloaded their command line tools tries to clone your repo? Will they get the big files too?
51.
▲
by
tyoverby
11y ago
Also, until Stable rust gets custom_derive, the barrier to entry for Serde is too high.