Better HN
topnewbestaskshowjobs
Log inSign up

AlexDenisov

751 karma · joined Mar 22, 2013 (13y ago) · 108 submissions

Sometimes I talk to machines, but more often machines talk to me.

Compilers, LLVM, Mutation Testing, Software Hardening.

alex@lowlevelbits.org

Submissions

1.

Beginner's Guide to MLIR's linalg dialect(lowlevelbits.com ↗)

2 points · by AlexDenisov · 4w ago · discuss

comment 9mo ago · link · parent

Building a tool for finding scientific papers behind real-world OSS projects: https://papergrep.dev/

This is a follow up to an idea I had years ago https://news.ycombinator.com/item?id=13022649, which is now semi-automated (with lots of manual curation as the last step).

The biggest challenges:

- how to organize all this info in a nice way

- where to find more time to read all the gems I've found so far :)

UPD: formatting

3.

Show HN: PaperGrep – Find academic papers referenced in production code(papergrep.dev ↗)

1 points · by AlexDenisov · 11mo ago · discuss

comment 3y ago · link · parent

There are also video lectures which are almost 1-1 mapping of the book

Programming Massively Parallel Processors: https://www.youtube.com/watch?v=4pkbXmE4POc&list=PLRRuQYjFhp...

5.

C++ Exceptions Under the Hood(monkeywritescode.blogspot.com ↗)

2 points · by AlexDenisov · 3y ago · discuss

6.

Optimizing Parallel Reduction in Metal for Apple M1(kieber-emmons.medium.com ↗)

3 points · by AlexDenisov · 3y ago · discuss

comment 4y ago · link · parent

> A retro multiplayer shooter

> Teeworlds is a free online multiplayer game, available for all major operating systems. Battle with up to 16 players in a variety of game modes, including Team Deathmatch and Capture The Flag. You can even design your own maps!

https://www.teeworlds.com

comment 4y ago · link · parent

Here is a talk by Dr. Yegor Derevenets about this project https://www.youtube.com/watch?v=f_0EF2BqeQ4

comment 4y ago · link · parent

I have a "series" of articles from a few years ago covering FreeBSD, LLVM, and GNU Make (https://lowlevelbits.org/categories/system-under-test/) and even created a separate website with a few more articles https://systemundertest.org, but stopped later.

comment 4y ago · link · parent

I started building exactly this some years ago, but eventually stopped for some reason https://systemundertest.org

11.

DragonRuby VR(youtube.com ↗)

2 points · by AlexDenisov · 5y ago · discuss

12.

How to learn compilers: LLVM Edition(lowlevelbits.org ↗)

221 points · by AlexDenisov · 5y ago · 26 comments

13.

A survey of dataflow analyses in Clang(lists.llvm.org ↗)

1 points · by AlexDenisov · 5y ago · discuss

14.

LLVM Meets Code Property Graphs(blog.llvm.org ↗)

25 points · by AlexDenisov · 5y ago · 1 comment

15.

Try to guess if code is real or GPT2-generated(doesnotexist.codes ↗)

201 points · by AlexDenisov · 5y ago · 103 comments

comment 5y ago · link · parent

re: absence of C++ tools

Have you looked at Mull[1] or Dextool[2]?

[1] https://github.com/mull-project/mull

[2] https://github.com/joakim-brannstrom/dextool/tree/master/plu...

17.

A quick summary of the updated Kotlin roadmap(twitter.com ↗)

3 points · by AlexDenisov · 5y ago · discuss

comment 5y ago · link · parent

Not really half-baked, but not ready for the prime time either:

Mull[0] is a tool for mutation testing of C and C++ projects. The goal of mutation testing is to show the gaps in the semantic coverage

[0] https://github.com/mull-project/mull

19.

Visualizing program structure characteristics for 12M lines of code(blog.shiftleft.io ↗)

2 points · by AlexDenisov · 6y ago · discuss

20.

Detailed whole-program representations with 100+mil LOC on commodity hardware(medium.com ↗)

1 points · by AlexDenisov · 6y ago · discuss

21.

Exploring LLVM Bitcode Interactively(lowlevelbits.org ↗)

3 points · by AlexDenisov · 6y ago · discuss

comment 6y ago · link · parent

This is a valid concern, for sure. In fact, these are called Equivalent Mutants. We observed it several times, here are some examples. You flip the if/then branches and the code essentially does the same, switching from a fast to slow implementation of the same algorithm. Another example is mutating the code in a C++ destructor, which is not easy to test.

With that being said, even despite the equivalent mutants, you can get a pretty good insight. Here is an example of finding from a proprietory real-time OS used in the space industry: https://gist.github.com/AlexDenisov/b5d2e23457b88813b5ab9d5d... (this is a part of an email which I could safely post online).

23.

Zero Day Snafus – Hunting Memory Allocation Bugs(suchakra.wordpress.com ↗)

3 points · by AlexDenisov · 7y ago · 2 comments

24.

Quick way to structure a technical interview(cvursache.com ↗)

1 points · by AlexDenisov · 7y ago · discuss

25.

I do not use a debugger (2016)(lemire.me ↗)

147 points · by AlexDenisov · 7y ago · 182 comments

26.

Building an LLVM-Based Tool. Lessons Learned(youtube.com ↗)

2 points · by AlexDenisov · 7y ago · discuss

27.

Notes on Eschede Train Derailment(stanislaw.github.io ↗)

1 points · by AlexDenisov · 8y ago · discuss

28.

Debugging Dyld(lowlevelbits.org ↗)

1 points · by AlexDenisov · 8y ago · discuss

1234