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

Good/Clean code is context dependent

kernel's code is terrible mess by java/c# web app standards (dependency injection, interfaces, mockability, testability, etc)

Even C#'s compiler code written in C# is below architect's dream web app code base full of DDD, various patterns, CQRS, Event Sourcing yada yada


top hackers when it comes to crimes?

then probably yea, but when it comes to skills?

I'd say that they're not really that unknown - https://ctftime.org/


CTF is to hacking what fencing is to actual swashbuckling.


Just because in "real hacking" you can just smash somebody's head with crowbar untill he gives you the password?

That's fair, but just take a look at how complex latest biggest hacks are like

https://googleprojectzero.blogspot.com/2021/12/a-deep-dive-i...


Yes, or more that any workaround for a system is valid, rather than narrowly defined by specific rules.


Not everyone does CTFs.


Is WASM going to replace:

Lua, JS and LLV IRM?


No, no, and no. The only one remotely close in scope is LLVM-IR, and even then scope is pretty significantly different. LLVM-IR is a general purpose IR for native compilation. Wasm is deliberately small in scope and designed for sandboxing.

Lua and JS are not even binary languages.


There is a proposal from Mozilla/Facebook for a binary JS format.

https://github.com/tc39/proposal-binary-ast


WASM is a compiler target. It was designed for fast compilation into native instructions with deterministic effects.

LLVM-IR has been considered, but has never been suitable as a compiler target. Code is targeted for a specific arch even before it becomes translated into LLVM-IR. Undefined behaviour in C is undefined also in LLVM-IR, and a portable compiler target can not have any. It is also changing too much between compiler versions (which is a reason why SPIR moved away from it).

BTW. It seems that in the long-term, the use of LLVM-IR in compilers is going to be replaced with MLIR (Multi-level IR).


Isn't it an intermediating language ? Why would it replace them, it's not like a lot of people directly code in assembly when C is available...


Instead of, as an example, coding a plugin in lua, you code it in whatever you want and compile to wasm (that supports wasm as a compile target). In that sense it would be replacing lua.


But lua is typically used as an easy scripting language for non-programmers...


No. I am not a clairvoyante but I think there will be possibilitites to compile to WASM. LLV IRM is a special case but transcompiling is not unimaginable.


I've never bought smartphone because felt no need

but the only things that make me really, really strongly consider getting smartphone is some form of Maps - let it be Google or something

and ability to send&receive pictures (MMS suck)

It's definitely possible to live with dumb phone, but stuff like maps, sending pictures and maybe access to email are sometimes incredibly handy


KaiOS devices have all those features, they are just slow and not as convenient as on a smartphone.


>What I mean is, the lost productivity of waiting around for slack to load a channel is essentially outsourcing this cost difference via poor performance.

What makes you think that Slack's loading times is due to Electron, not shitty backend?

This is genuine question


If it were the backend, I would not expect the load times to improve when loading Slack into a browser tab where its resources are constrained.

Separately, if it were strictly a Slack problem and not Electron, you wouldn't expect to see these kinds of issues crop up across the spectrum of Electron apps. Scroll through this thread and you can see a variety of people running into these problems in all kinds of different electron-based apps:

https://github.com/electron/electron/issues/12988


>Nobody is using Blazor.

Hmm, I don't think this is true.

Also this is kind of different beast - WASM has some limitations that need to be overcome


idk

Google Maps performance seems to be way worse

I do wonder how's the WASM performance


Given Google Photos is broken on Firefox I wonder how much the conflict of interest plays into this. More fuel to the breakup argument.


It is? I use google photos regularly on Firefox on Windows, Mac and Android.


Honestly nothing gives as much experience/knowledge

as trying to write it yourself

and then reading about how other people do it e.g VS Code blog

https://code.visualstudio.com/blogs/2018/03/23/text-buffer-r...


Did the game name start with 'T' letter?


Nope, R.


RuneScape? The botting and private server scenes inspired many a programmer out there :)


Yep you got it. But I grew up on the original runescape... classic. I still love the game, even though it's killed.

https://www.youtube.com/watch?v=Kws89gVKoxw


Inspired me, my favorite private server was 2speced, tyler and bluur were to best to ever do it


Are you thinking of Tibia?


Yes


Monads :P


Consider applying for YC's Summer 2025 batch! Applications are open till May 13

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

Search: