Hacker News new | past | comments | ask | show | jobs | submit | more emi2k01's comments login

Could it be that the gnu toolchain embeds the debug symbols in the binary and the msvc toolchain puts them on a separate pdb file?


https://github.com/denoland/deno_graph/blob/main/src/fast_ch...

You can search for "no_zap" under the `denoland` org if you want to have a bit more context.

I believe it's a form of type checking where, simplifying, things like function bodies are removed and type checking is only done across top-level items.


Isn't that an arena allocator at that point?


You're right, that's the original source of the question

https://www.reddit.com/r/wallstreetbets/comments/1935frs/is_...


Top reply: crash was priced in before takeoff!


Now that's pretty funny! Good find.


"it's just..." is kinda demeaning.

People want something easy to use with good defaults. If that wasn't the case, shells wouldn't have a hundreds of plugins dedicated to customizing the prompt.


Splitting the debug info from the executable is supported on the 3-big-OSes but only enabled by default on Windows (and maybe macOS?)


Many Linux distributions have debuginfod servers that supply split debugging symbols on demand. So one could argue that it's implemented by default on Linux too.


Wow! I just realized I trust HN comments way too much because I had to read the whole comment to realize it's spam.



> The jsx stuff looks fancy, but it completely breaks Rust Analyzer

That's not inherent of macros, but how the parser of the macro body is written. Ideally, the jsx code would be transformed to correct Rust code even on broken input, then Rust Analyzer would map the tokens from the expansion to the tokens from the source code to have context for IDE features (rename, autocompletion, go to definition, etc).

I wrote some stuff [1]. It's a bit all over the place since I'm very bad at writing. Here's also a thread with Rust Analyzer's developers [2]

[1]: https://blog.emi0x7d1.dev/improving-autocompletion-in-your-r... [2]: https://www.reddit.com/r/rust/comments/16x2kzi/improving_aut...


The problem is that you also sometimes need to inspect output tokens that occur between (or that don't logically map to tokens between) the input tokens. I ran into this with Leptos. It's just a bad idea. Floem shows that you can have something that looks awfully similar to HTML, without the unnecessary complexity (and compile times) of JSX macros.


That's interesting. I think I read about this website redirecting HN users before.

I can't trigger that redirect on Firefox or Chromium browsers, though. It seems HN puts a `noreferrer` on the link.


Doesn't work on my Firefox either. Brought me to the real site. I do have all privacy options on, and ublock Origin. So maybe something just deleted the referrer. Or it got deleted because it points to google (I have google container on).


The `rel="noreferrer"` attribute on the link instructs the browser to omit the Referer header on the request. So any browser that respects that option shouldn't be impacted by that code.


Nope, works here on FF.


If you click on the link directly you get to the real page, if you open it in a new tab you land on Google. At least on FF Mobile (Android)


It always opens in a new tab (Desktop) for me, which might be an extension’s doing.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: