Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dikaiosune
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
dikaiosune
8y ago
great idea!
2.
▲
by
dikaiosune
8y ago
Do you have numbers for how much of the web avoids variable hoisting? How much of the web has more than one top-level fn per file? Do these numbers shift significantly between different toolchains or methods of delivering JS?
3.
▲
by
dikaiosune
8y ago
How is partial execution baked into JS? IIUC, my whole JS file is fully parsed an resolved before it is evaluated. If you're referring to the use of multiple files for parallelism here, then the obstacle there is not wasm itself but th
4.
▲
by
dikaiosune
8y ago
It would be interesting to try for some apples-to-apples comparisons for the parse and initial exec time of js vs wasm. The latter was designed with the goal of streaming validation and compilation, js needs to have a lot of work done befor
5.
▲
by
dikaiosune
8y ago
Many types in the standard library do not consider it sound behavior to have their allocations freed by functions other than their own destructors: https://doc.rust-lang.org/std/boxed/struct.Box.html#method.i...
6.
▲
by
dikaiosune
8y ago
Re: non-thread-safe items in lazy_static, you can also wrap them in a mutex within just the lazy_static so the struct only uses synchronization when it actually needs to be thread-safe.
7.
▲
Should We Use React Native? Thoughts from Expo Following Airbnb Sunsetting RN
(blog.expo.io)
17 points
by
dikaiosune
8y ago
|
0 comments
8.
▲
by
dikaiosune
8y ago
Rust's built-in lints are configurable with compiler directives, so you'll be able to add #![deny(bare_trait_objects)] To the top of your crate and cause a compiler warning if someone uses the old syntax on your project.
9.
▲
by
dikaiosune
8y ago
There's not a lot of consensus about what primitves good *-native framework needs, implementations are often pretty tied to specifics of the JS libraries they were built to be driven by (go figure), and the whole niche is still discove
10.
▲
by
dikaiosune
8y ago
FWIW, I read "To an outsider..." to mean "if you are reading this on HN and aren't involved in the community, this might seem like" as opposed to "I am pretending to be an outsider, let me tell you what about m
11.
▲
by
dikaiosune
8y ago
I'd actually be interested to find out how Cargo's performance compares in a situation as TheDong describes where all of the dependencies are being fetched directly from git. Part of me wants to say "well of course Rust'
12.
▲
by
dikaiosune
8y ago
The official (I think?) youtube channel has them: https://www.youtube.com/channel/UCaYhcUwRBNscFNUKTjgPFiA .
13.
▲
by
dikaiosune
8y ago
I tend to agree, but I also think that there's a little bit of nuance here. For one thing, I have definitely enjoyed using a large standard library...when I didn't have access to cargo or tools of similar quality. My impression is
14.
▲
by
dikaiosune
8y ago
I recently found myself inserting &/*/ref/ref mut into match expressions before I'd even seen a compiler error. My first thought was "aha, look at how experienced I am with Rust now!" Followed immediately b
15.
▲
by
dikaiosune
8y ago
from the article: > David Chisnall is a researcher at the University of Cambridge, where he works on programming language design and implementation. He spent several years consulting in between finishing his Ph.D. and arriving at Cambrid
16.
▲
by
dikaiosune
8y ago
One might assume that not every user of HN has the same beliefs and motivations as the others.
17.
▲
by
dikaiosune
9y ago
The path to stabilizing explicit simd intrinsics for rust should make many of those kinds of errors easier to catch with rusts casting requirements.
18.
▲
by
dikaiosune
9y ago
Awesome! It looks like they have some tests in the directory -- I'd be curious whether they're able to re-use musl's test suite some. I had an experiment a while ago to incrementally port musl to rust while keeping the test s
19.
▲
by
dikaiosune
9y ago
AFAIK when most recruiters talk about placement rate, they're not talking about "engineers who we worked with who happened to get jobs," they're talking about "engineers who we placed and received payment for the pl
20.
▲
by
dikaiosune
9y ago
I'm not sure when you last tried it, but CRNA apps (insofar as they run in the expo client) have sqlite support these days: https://docs.expo.io/versions/latest/sdk/sqlite.html (expo employee) edit: I sh
21.
▲
by
dikaiosune
9y ago
Like any situation in software, there are likely to be tradeoffs. I certainly wouldn't advocate for launching large rewrites except under extreme duress. That said, I'm not sure I agree with how you're characterizing the trad
22.
▲
by
dikaiosune
9y ago
I suspect that given Facebook's history with patents it has probably been in the works a long time to make this change.
23.
▲
by
dikaiosune
9y ago
Yeah I think this is fair. Although it might have helped to preface with that. Nonetheless, a small amount of egg on my face.
24.
▲
by
dikaiosune
9y ago
Since it wasnt clear from my post above, I buy all of this. But since IANAL, and I couldn't easily find a credible patent lawyer who has written publicly about this, I think it's reasonable to be measured in the claims I made. Tha
25.
▲
by
dikaiosune
9y ago
Some are of the opinion that MIT includes an implicit patent grant/license. Googling around I don't see many references to support this, but there are a few: * http://en.swpat.org/wiki/Implicit_patent_lic
26.
▲
by
dikaiosune
9y ago
Nit: IIRC one can receive a trait object through a stack based reference. fn trait_obj(foo: &Trait)...
27.
▲
by
dikaiosune
9y ago
For clarification, "trait objects" are a subset of the trait system, and have much less use in rust programs than traits overall. A trait object is a dynamically dispatched pointer (often owned through Box or Arc), as opposed to t
28.
▲
by
dikaiosune
9y ago
The author of alacritty suggests that there's an IPC performance issue with tmux/nvim on macOS: https://github.com/jwilm/alacritty#faq
29.
▲
RustBelt: securing the foundations of the Rust programming language
(blog.acolyer.org)
3 points
by
dikaiosune
9y ago
|
0 comments
30.
▲
Prisma: Turn your database into a real time GraphQL API
(prismagraphql.com)
10 points
by
dikaiosune
9y ago
|
9 comments
More ›