HNHacker News
TopNewBestAskShowJobs

hkalbasi

340 karma · joined November 16, 2021

submissionscomments
hkalbasi··on Making a budget Pascal compiler to WebAssembly
> WASM shares more ideas with CIL than the JVM [..] In WASM the memory management strategy is up to the application.

That level of difference doesn't matter. The point is that WASM is a portable and sandboxed target (like JVM) which is (or will be) faster, more secure (e.g. capability based security in WASI) and with more language support (strictly more when optional GC becomes a thing) and other differences are implementation details.

hkalbasi··on Rust extension traits, greppability and IDEs
> Apparently, not all tooling has access to sophisticated language servers; for example, as far as I can tell GitHub source analysis won't be able to find where write_u16 is coming from, and the same is true of Sourcegraph.

FYI, Sourcegraph supports LSIF generated by rust-analyzer. For example, https://sourcegraph.com/github.com/matrix-org/matrix-rust-sd... shows lock method belongs to tokio. It should be able to show origin of write_u16 as well (In the precise mode, not search based).

Gitlab can also consume LSIF, and github should do it someday, IMO, their current way doesn't scale. In most languages you should implement a full compiler front end in order to provide a 100% correct goto definition.

hkalbasi··on Re: Moxie on Web3
Browsers based on chromium like brave also refuse to enable chrome shenanigans.
hkalbasi··on Tell HN: Full macOS reinstall because Apple ID
Apple in hardware is a vendor like other vendors. Just remove their OS.
hkalbasi··on Tauri – Electron alternative written in Rust
WebView2 is chromium edge. This was the reason that I guessed webkit-gtk uses less ram than chromium.
hkalbasi··on Tauri – Electron alternative written in Rust
Per https://github.com/Fournux/tauri-vs-electron it uses just 20 MB of ram on linux.

Why? I guess because webkit-gtk is less ram hungry than blink.

hkalbasi··on Writing embedded firmware using Rust
Isn't "use core::" enough, without compile time config directive?
hkalbasi··on TikTok streaming software is an illegal fork of OBS
Isn't (important part of) surveillance stuff on the server side?
← PreviousPage 2 of 2