Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
algorithmsRcool
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
algorithmsRcool
2y ago
F# has been my favorite language since I first encountered it in uni. F# was/is waaaay out ahead of C# with features like unions, null safety, pattern matching, records, more powerful type inference and generic constraints. Over the y
62.
▲
by
algorithmsRcool
2y ago
How much of a throughput penalty do those options incur on the application?
63.
▲
by
algorithmsRcool
2y ago
It isn't trivial but it is supported. Here is an example [0] toy. I am not aware of any production grade replacement GCs for .NET out there currently https://github.com/kkokosa/UpsilonGC
64.
▲
by
algorithmsRcool
2y ago
There is very little new under the sun. It reminds me of the wheel of time books, as the wheel turns we forget about the learnings of the previous age and reinvent them for ourselves. Often worse.
65.
▲
by
algorithmsRcool
2y ago
> As for a delete operator, you can just roll your own struct based allocation framework that uses IDisposable to reclaim memory. But then you need to deal with all the traditional bugs like use-after-free and double-free and the like. I
66.
▲
by
algorithmsRcool
2y ago
Ref-structs can also implement interfaces now too. The C# compiler team has been really delivering in this space the last few iterations
67.
▲
by
algorithmsRcool
2y ago
Yes, this is what I meant
68.
▲
by
algorithmsRcool
2y ago
> Because Anders Hejlsberg is one of the greatest language architects and the C# team are continuing that tradition. I wish Anders was still in charge of C# :(
69.
▲
by
algorithmsRcool
2y ago
>Anything that uses classes and interfaces will be memory managed by the GC... Yes and no. Yes, almost all of the standard library collection are allocation heavy and it is still the dominate pattern in C#, so if you want to avoid the GC
70.
▲
by
algorithmsRcool
2y ago
Span and ref-like types enable massive changes to the way that memory is managed in C#. You can absolutely write almost GC-less code. I have been tinkering with a toy no-GC database engine in C# based on Direct I/O and some object pool
71.
▲
by
algorithmsRcool
2y ago
This is where I fall back to Property Based Testing[0] and let the engine probe the high dimensional test space for me. The test then becomes something like Check.Sample( Gen.Bool, Gen.Bool, Gen.Bool (loggedIn, hasGreenHair, li
72.
▲
by
algorithmsRcool
2y ago
`Get-CimInstance Win32_Processor` on Powershell Core
73.
▲
Microsoft Orleans v8.2.0
(github.com)
2 points
by
algorithmsRcool
2y ago
|
0 comments
74.
▲
Introduction to Vectorization with Vector128 and Vector256
(github.com)
2 points
by
algorithmsRcool
2y ago
|
0 comments
75.
▲
CsCheck: Random Testing Library for C#
(github.com)
1 points
by
algorithmsRcool
2y ago
|
0 comments
76.
▲
by
algorithmsRcool
2y ago
I'm going to note also after digesting the article further that CsCheck has support for "stateful"/"model-based" testing in addition to property-based testing. It also supports the linearizable/parallel te
77.
▲
by
algorithmsRcool
2y ago
For my C#/.NET testing I've been using CsCheck[0] and I've enjoyed it quite a bit. It was a lot more approachable compared to Hedgehog and FsCheck and is also quite fast. [0] https://github.com/AnthonyLloyd&#x
78.
▲
What's New in C# 13
(learn.microsoft.com)
13 points
by
algorithmsRcool
2y ago
|
2 comments
79.
▲
by
algorithmsRcool
2y ago
I've found the DX of Dafny to be very approachable. The VSCode extension is pretty great, and you get feedback as you type. Also, its ability to give you counter examples in the IDE is really nice.
80.
▲
by
algorithmsRcool
2y ago
Always cool to see Dafny mentioned! Shameless plug: I just wrote a beginner's introduction to Dafny a few days ago. https://www.linkedin.com/pulse/getting-started-dafny-your-fi...
81.
▲
Hysteresis effect on threadpool hill-climbing
(github.com)
2 points
by
algorithmsRcool
5y ago
|
0 comments
82.
▲
by
algorithmsRcool
6y ago
> Putting more than 1M rows of data into Excel is not possible, and once you get into the low 100K's, it becomes almost unbearable. I dispute this. Yes, the normal spreadsheet view of excel will buckle under 1M rows, but excel has a
83.
▲
by
algorithmsRcool
6y ago
Since it looks like they hit the spreadsheet row limit, this is a friendly reminder that the "Data Model" or "Power Pivot" mode [1] of excel scales far beyond [2] the spreadsheet mode. [1] https://support.offi
84.
▲
by
algorithmsRcool
6y ago
Part of the Trill[0] processing engine in C# does this. It uses reflection to vectorize normal objects into a columnar format internally. [0] : https://github.com/microsoft/Trill
85.
▲
by
algorithmsRcool
6y ago
I don't understand this mentality. Git itself doesn't provide a way to interact with PRs or issues on GitHub. This utility does. If you are uncomfortable with using GH to manage issues and PRs you shouldn't probably shouldn&#
86.
▲
by
algorithmsRcool
6y ago
GitHub is killing it with these features. I wonder how long Azure Repos will survive on it's own.
87.
▲
by
algorithmsRcool
6y ago
It is ok, but I would not recommend it. It got off to a great start but I ran into problems/limitations with some fairly basic stuff. I can't recall exactly what my issue was with it however, it has been a few months.
88.
▲
by
algorithmsRcool
6y ago
I tried to use Gui.cs and wasn't able to. It has a lot of rough edges and I had to move on because it wasn't well fleshed out. Other/better .NET libraries include: https://github.com/spectresystems/spectr
89.
▲
C# Compile Time Method Execution Generator
(github.com)
1 points
by
algorithmsRcool
6y ago
|
0 comments
90.
▲
by
algorithmsRcool
6y ago
Fair point, I've strayed from the topic at hand.
More ›