Better HN
topnewbestaskshowjobs
Log inSign up

vilark

20 karma · joined Sep 4, 2023 (3y ago) · 11 submissions

Submissions

1.

Programming Like It's 1999 (Before Agile/Scrum)(karl-pickett.medium.com ↗)

2 points · by vilark · 1y ago · discuss

comment 2y ago · link · parent

FYI I got rid of this line, now I just don't add the quotes in the first place, unless the caller requests it. Performance didn't actually change, but it looks smarter. Thanks again for the review though.

comment 2y ago · link · parent

30% performance improvement after removing the `yield return`, and readability is probably better too.

comment 2y ago · link · parent

I will add a micro benchmark to see if the `yield return` is slowing things down, compared to just calling _sb.Add() inside Read*(). I will also see if it looks cleaner that way. To be honest, the `yield return` is currently in there just because I thought it's "cool".

comment 2y ago · link · parent

The unit tests have an emoji test (which uses a surrogate pair). I thought I would have to use Runes, but it's not necessary. https://github.com/kjpgit/SmallestCSVParser/blob/master/Smal...

comment 2y ago · link · parent

Thanks... I didn't think that would compile on .net 6, but it does!

7.

World's Smallest CSV Parser (C#)(github.com ↗)

64 points · by vilark · 2y ago · 71 comments

8.

Show HN: WebGPU Demo: "Galaxy Engine"(karl-pickett.dev ↗)

3 points · by vilark · 2y ago · discuss

9.

A WebGPU Fireworks demo (works on Chrome/edge)(karl-pickett.dev ↗)

1 points · by vilark · 2y ago · discuss

10.

Show HN: Story of using C# for a terminal app (macOS and Linux)

4 points · by vilark · 3y ago · discuss

11.

ViLark: A fast, beautiful file explorer for Vim [C# Native AOT](github.com ↗)

2 points · by vilark · 3y ago · discuss