Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
neonsunset
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
neonsunset
1y ago
There are fundamental restrictions where NativeAOT will never work or be desirable. For example, runtime-compiled regex patterns or any other feature which relies on emitting IL at runtime and creating new members or even assembles and then
92.
▲
by
neonsunset
1y ago
Was very confusing to see C++ and ActionScript until I realized this is VVVVVV and clearly not VVVV!
93.
▲
by
neonsunset
1y ago
> Microsoft was for years actively hostile toward attempts to run .NET programs on platforms other than Windows It's been 10 years. Even before that, no action was ever taken against Mono nor any restriction put or anything else. FW
94.
▲
by
neonsunset
1y ago
FWIW If you are using Github Copilot Edit/Agent mode - you may have more luck with other plugins. Until recently, Claude 3. 5 Sonnet worked really well with C# and required relatively few extra commands to stay consistent to "new
95.
▲
by
neonsunset
1y ago
It's a self-harm activity and a crime against anyone else who has to maintain the code which uses it. Good God, please use EF Core or Dapper/DapperAOT if you can help it haha.
96.
▲
by
neonsunset
1y ago
Historically, it was a decision to avoid cognitive load for GUI applications. To be fair, it's been a while since I've heard anyone complain about it - most servers and containers run with both an en-US locale and/or the in
97.
▲
by
neonsunset
1y ago
As a developer or a user, you have full control over this: <InvariantGlobalization>true</InvariantGlobalization> or DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true (it is still an occasional gotcha, but pretty much
98.
▲
by
neonsunset
1y ago
Go and Rust are subject to linking too, Rust just happens to have a saner system which deals with it under the hood. It also goes through the same tooling C and C++ do and the subsequent object files may also need to be linked before produc
99.
▲
by
neonsunset
1y ago
C# introduced nullable reference types back in 2019, so it's been some time and now the vast majority of the ecosystem uses null-aware code. The only remaining warts are around a. codebases which refuse to adopt this / opt out of
100.
▲
by
neonsunset
1y ago
FWIW web-frameworks-benchmark is bad and has strange execution environment with results which neither correlate nor are reproducible elsewhere. TechEmpower also has gotten way worse, I stopped looking at it because its examples perform too
101.
▲
by
neonsunset
1y ago
Sounds improbable. Unlike Ruby, JavaScript has multiple runtime implementations with capable JIT compilers that sometimes let it even compete with Java on numeric code. Ruby is very, very far away. Please note that Elixir is also in the sam
102.
▲
by
neonsunset
1y ago
Much less of a problem in .NET (its GC tuning sits somewhere in between the two, especially when SRV GC + DATAS is in use, like in container scenarios, where Go is funnily unaware of limits set by cgroups and needs an external package to fi
103.
▲
by
neonsunset
1y ago
"The MIT License (MIT) Copyright © 2025 <copyright holders> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Softwar
104.
▲
by
neonsunset
1y ago
MIT is one of the least restrictive licenses. If you think otherwise, I suggest checking if there's any aluminium foil on your head.
105.
▲
by
neonsunset
1y ago
There's more to it than just having a fast hashmap: https://www.microsoft.com/en-us/research/wp-content/uploads/... (I'd imagine implementing mechanisms for resilient storage and larger than me
106.
▲
by
neonsunset
1y ago
Garnet has a discord server and has been actively accepting community PRs, so I don’t know what kind of nonsense you are on about. What is it with .NET that compels you to lie? Also FOSS and open contribution are different things, as siblin
107.
▲
by
neonsunset
1y ago
Yup, it’s a complete reimplementation in pure C#. It’s built on top of FASTER KV / Tsavorite project from MSR.
108.
▲
by
neonsunset
1y ago
What makes you think this way? I’m pretty sure even back then Entity Framework was very capable, it has only improved since then. https://learn.microsoft.com/en-us/ef/core/querying/complex-q... It’s prob
109.
▲
by
neonsunset
1y ago
FWIW MVC is completely optional nowadays. Take a look at this: https://learn.microsoft.com/en-us/aspnet/core/fundamentals/m...
110.
▲
by
neonsunset
1y ago
Besides parametrized modules what else do you think F# is missing? To me it seems like a 10x more powerful choice because of much richer GUI and web framework choices, great tooling and high flexibility as a language (computation expression
111.
▲
by
neonsunset
1y ago
Maybe F# as a middle ground? Although if you have religious avoidance of JIT compilation, using NativeAOT with F# has a few rough edges right now (it works, but you need to be aware of edge cases, with that said, you can still make fairly c
112.
▲
by
neonsunset
1y ago
If you care about efficient parallelism, F# might give you much better experience and results.
113.
▲
by
neonsunset
1y ago
Me too, I just write .fsx scripts instead (F# interactive), it works nicely together with Plotly.NET. And can crunch / parallelize well if you want to do something over many files.
114.
▲
by
neonsunset
1y ago
By this logic we should drop Golang immediately then because tomorrow Google will either kill it or they will add unremovable telemetry that uploads all of your code directly to AdSense.
115.
▲
by
neonsunset
1y ago
And so the broken record takes another turn...
116.
▲
by
neonsunset
1y ago
> To within a rounding error of zero, I don't think anyone outside Windows devs truly expects Microsoft to maintain .NET on other platforms, so it's not really an option in many (most?) fields. This is provably wrong, unless yo
117.
▲
by
neonsunset
1y ago
Objects are cheaper than Arc<T>. Otherwise using GC would suck a lot more than it does today (for certain types of data structures like trees accessed concurrently it is also a massive optimization). Python also has incomparably worse
118.
▲
by
neonsunset
1y ago
Structs in C# or F# are not low-level per se, they simply are a choice and used frequently in gamedev. So is stackalloc because using it is just 'var things = (stackalloc Thing[5])' where the type of `things` is Span<Thing>.
119.
▲
by
neonsunset
1y ago
There's another highly sensitive to timing game - Osu!, which is written in C# too (on top of custom engine).
120.
▲
by
neonsunset
1y ago
And P/Invoke call can be as cheap as a direct C call, at 1-4ns In Unity, Mono and/or IL2CPP's interop mechanism also ends up in the ballpark of direct call cost.
More ›