Hacker Newsnew | past | comments | ask | show | jobs | submit | starquake's commentslogin

So the title is incorrect? They haven't left Switzerland yet?


We've changed the submitted URL from https://www.nzz.ch/technologie/proton-ceo-andy-yen-wer-geset... to a third-party article that seems to have more background.

(Also, HN is an English-language site, so articles here should be in English - https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que... - even though we have deep respect for the German language and other languages)


The original article is still very much worth reading, using the translation tools that are nowadays built into web browsers.


I don't if it's the reason but the performance of modernc.org/sqlite is worse than github.com/mattn/go-sqlite3


I would assume the mission would be something like "travel safely". Keyword being "safely" here.


I think the Google Go style guide is really nice and pragmatic. There are some references to the GoTips for some advanced subjects. I hope they release it someday.

I made an issue for it: https://github.com/google/styleguide/issues/881


The music for Shovel Knight was made with this!

https://www.youtube.com/watch?v=32OLFp9-t7I


I think your browser is doing some embedding cause I don't see an embedded video...


Although the handhelds have been backwards compatible, only the Wii and the Wii U had backwards compatibility. The SNES, N64, Gamecube and Switch did not have backwards compatibility.


The SNES and the Gamecube did have the Super Game Boy and Game Boy Player respectively though, but I'd probably count that as sideward compatibility rather than backward compatibility.


I said "past couple decades" for a reason. The N64 is pushing 30


Although NativeAOT sounds cool and it's better than nothing: I don't like that it comes with a bunch of limitations[1]. I would have loved this if you could just use it without any changes, but I'm very worried that at some point I used something that prevents me from getting it to work and I have to figure out which limitation I just walked into. Correct me if I'm wrong.

[1] https://learn.microsoft.com/en-us/dotnet/core/deploying/nati...


Those limitations are often obvious. With AOT, you don't have the VM around, you can't load new bytecode or introspect the objects. I would focus on writing working code, and try to go AOT close to the end. If it fails and it's not fixable, tough luck, but it works on the standard runtime.


Technically speaking, there is VM (you could also consider GC to be a part of it, but in HN understanding it's an umbrella term that can mean many things). Because the type system facilities are there which is what allows reflection to work.

The main source of confusion as to why some believe that NativeAOT prohibits this are libraries which perform unbound reflection in a way that isn't statically analyzable (think accessing a method by a computed string that the compiler cannot see and not annotating with attributes the exact members you would like to keep and compile the code for) or libraries which rely on reflection emit. But even reflection emit works for limited scenarios where runtime compilation is not actually required like constructing a generic method where argument is a class - there could only be a single generic instantiation of __Canon argument in this case, which can be emitted at compile time. You can even expect the reflection to work faster under NativeAOT - it uses a more modern pure C# implementation and does not need to deal with the fact that types can be added or removed at runtime.


That's interesting - I would have thought targeting aot at the outset and then switching away only when the design became incompatible would be more effective, only because by going for aot at the end I'd probably have introduced some code or dependency that isn't aot compatible and yet too much work to replace


> I would have thought targeting aot at the outset and then switching away only when the design became incompatible would be more effective

That’s exactly what I do too.


With source generation, I'd say that its biggest limitation is rapidly diminishing. Even ASP.NET Core is embracing it, allowing for better support for json deserialization and eventually MVC.


Oh my, that's so far off of my preferences of coding fonts. Do you have an example screenshot of what that looks like?


Sure. I found a font called "Guillermonkey", it disambiguates upper case i, lower case L, and 1, and it has slashed zeroes, and looks kinda cheerful.

https://ibb.co/s15QMpH


I read it as: How the French take the energy out of people that want to do work


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

Search: