Better HN
topnewbestaskshowjobs
Log inSign up

anooh

34 karma · joined Oct 7, 2021 (5y ago) · 6 submissions

Software Engineer
Submissions

1.

Tell HN: Clicking first link in Wikipedia articles lead to Philosophy page

3 points · by anooh · 4y ago · 1 comment

2.

Recursion Got into Programming(vanemden.wordpress.com ↗)

3 points · by anooh · 5y ago · discuss

3.

Demystifying C++’s constexpr, consteval, constinit keywords(noahan.me ↗)

2 points · by anooh · 5y ago · discuss

comment 5y ago · link · parent

I have used Visual Studio before and it's excellent for C++ type of projects, especially when combined with vim bindings and auto complete / auto suggestion features. Plus, Microsoft C++ Compiler (MSVC) is very well written and maintained, and at many times, I find the compiler warning to be very helpful. I wish I had the luxury of using Visual Studio at work.

comment 5y ago · link · parent

Wow this is amazing. It's super fast and has a very easy to follow help page, plus the formatting is pretty awesome. I just did a quick benchmark searching for `kthreadd` using grep and ag and it's magnitudes faster than grep. Thank you for sharing this. I hope I can convince the network admins at my workplace to install this tool.

In addition, A+ for the ag's design for `mmap()` ing files instead reading them into a buffer.

Bench marks: Using Grep

```bash $ time grep -Rsn "kthreadd" ... real 0m25.341s user 0m5.738s sys 0m4.074s ```

Using ag: ```bash $ time ag "kthreadd" ...

real 0m2.182s user 0m1.306s sys 0m1.773s ```

6.

Effective Code Browsing(aknooh.github.io ↗)

101 points · by anooh · 5y ago · 54 comments