Viewing profile — MStrehovsky
MStrehovsky
HN member- Joined
- Fri, Jan 03, 2020, 3:33 PM UTC
- HN karma
- 204
- Public activity
- 31 items
- HN profile
- View on Hacker News ↗
About MStrehovsky
No profile information was provided.
Recent public activity
-
comment
Comment #43340484
Do you have data backing that up? Per https://github.com/MichalStrehovsky/sizegame : C#: 945 kB Go: 2174 kB Both are EXEs you just copy to the machine, no separate runtime needed, …
-
comment
Comment #41377515
Is AOT compiling your binaries [1] an option for you? The starting size of AOT compiled C# can beat Go in size [2] and from there it really depends on what you do and how you do it…
-
comment
Comment #38864247
> Fair enough; perhaps it'd be worthwhile to throw a compiler error if both reflection and trimming were attempted. The tooling already generates warnings for any spot in the progr…
-
comment
Comment #38848198
Someone with an iPhone told me the webm video embedded in the article still doesn't work on iPhones in 2024 so here's another link to the video: https://twitter.com/MStrehovsky/sta…
-
comment
Comment #38840088
It's a webm, looks like Apple still didn't implement it on iPhones. Here is another version of the video on a website that may work better on iPhones: https://twitter.com/MStrehovs…
-
comment
Comment #38606492
The repo does mention the Pi. I just forgot to talk about the Pi specifically in the article, sorry. https://github.com/MichalStrehovsky/uefimaze
- story
-
comment
Comment #37630896
Here's an example [1] of a device driver in C#. It is possible. It is also not recommended. [1] https://github.com/VollRagm/KernelSharp
- story
- story
-
comment
Comment #34239742
I also like the less heavyweight approach where one can compose tools to do things. The existing .NET tooling is so entwined with MSBuild that one can't even (easily) invoke the C#…
-
comment
Comment #34230353
This is using Microsoft's standard libraries and compiler parts. All of .NET is MIT licensed so this kind of remixing is super easy.
-
comment
Comment #34230343
ZeroSharp is done by the same person as bflat (me). These ZeroSharp samples get broken all the time because they bend the MSBuild targets that ship with .NET to an extreme. Bflat i…
-
comment
Comment #34230327
The crosscompilation on Go to mac is pretty limited. That's why I wrote "need to reach dependencies beyond what libc offers". If you crosscompile Go from Linux to mac, you'll actua…
-
comment
Comment #34229354
TL;DR: It's work. The way exceptions are done in .NET is by keeping track of extra metadata to be able to unwind methods (remove them from the execution stack) and execute handlers…
-
comment
Comment #34228890
I want bflat to be able to crosscompile from anything to anything. Apple's platforms are difficult to crosscompile for - most instructions I've seen that need to reach dependencies…
-
comment
Comment #34228536
Some executable file formats have time stamps in them. bflat follows the platform convention that respects this and writes current date/time in the file header by default. It is al…
-
comment
Comment #34228350
dflat could imply it has something do to with dlang. bflat triggers a lot of engagement on Twitter and elsewhere because everyone wants to correct it. Couldn't have chosen a better…
-
comment
Comment #34228267
bflat author here - happy to answer questions. I think at this point https://flattened.net/ is a better introduction to bflat than the repo. The repo also links to it, but wanted t…
- story
-
comment
Comment #28323872
> 212kB Here's a 11 kB bootable x86-64 version of the game written in C# https://github.com/kant2002/SeeSharpSnake/tree/kant/uefi#run... . There's an accompanying article with a vi…
-
comment
Comment #27636387
(Author here, I hang out on HN.) Yup. There's really not much extra code in bflat compared to what's in the dotnet/runtimelab repo (in the NativeAOT branch). This just packages thi…
-
comment
Comment #27636331
Pass the multiple files to `bflat build`. Or if you run `bflat build` without arguments, it will compile all *.cs files in the current directory. Not great, but works for now.
-
comment
Comment #27628820
As a C# dev I'm sometimes envious of the experience that Go devs have around building small selfcontained executables. Type a few lines into a .go file, `go build` the file and you…
- story