Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dbremner
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
dbremner
2y ago
I'm developing an application that utilizes a genetic algorithm to optimize compilation flags.
2.
▲
by
dbremner
2y ago
I'm rewriting a suite of network applications from C++ to Rust as a learning exercise. It's a long obsolete and obscure protocol, so the results aren't particularly useful, but it's been a good introduction to the langua
3.
▲
by
dbremner
2y ago
This is a 30+ year-old codebase that originally started as pre-ANSI C. The design tradeoffs were very different at the time. I've managed to compile it as C++23 with unreasonably high warning levels, and it's now warning-free. How
4.
▲
by
dbremner
2y ago
Here is a real safety issue that I found and fixed a couple weeks ago. This is an ancient language runtime which originally ran on MS-DOS, Amiga, Atari, and at least a dozen now-discontinued commercial Unices. I've been porting it to 6
5.
▲
by
dbremner
3y ago
I'm not sure about static analyzers, but here are the clang warnings I use for my personal C++20 projects. You will get an enormous number of warnings from typical C++ code. I fix all of them, but doubt it would make sense to do so in
6.
▲
by
dbremner
5y ago
https://github.com/dbremner/cake is a 16-bit Windows 1.0 application that I ported to Win64; most of the changes weren't required.
7.
▲
by
dbremner
5y ago
https://github.com/dbremner/cake is a 16-bit Windows 1.0 application that I ported to Win64; most of the changes weren't required.
8.
▲
by
dbremner
6y ago
Porting 16-bit assembly is harder but porting C code from Win16 to Win32 is pretty easy. https://github.com/dbremner/cake is a 16-bit Windows 1.0 application that I ported to Win64; most of the changes weren't req
9.
▲
Implementations for Gray code encoding and decoding (2019)
(leni536.github.io)
2 points
by
dbremner
6y ago
|
0 comments
10.
▲
by
dbremner
7y ago
I don't think it has all of them, but [0] is a tarball from Research Unix that has some Writer's Workbench source code. The files are in cmd/wwb. Other tarballs may have more Writer's Workbench code but I haven't lo
11.
▲
by
dbremner
7y ago
There is a complete list of passes here[0]. It does some optimizations but much less than a mainstream C or C++ compiler. [0] https://github.com/golang/go/blob/master/src/cmd/compile/int...
12.
▲
by
dbremner
7y ago
My side project is a fork[0] of an old Java Swing app. I have been updating the code to use newer Java features and rewriting portions of it in Scala. [0] https://github.com/dbremner/JavaPH
13.
▲
Word parallel null byte detection – comp.arch, Alan Mycroft (1987)
(groups.google.com)
1 points
by
dbremner
9y ago
|
0 comments
14.
▲
by
dbremner
9y ago
ReSharper (and presumably IntelliJ) supports expression-based search and replace. Here are some commits where I used it to remove boilerplate from some test cases. The code was written long before MSTest added support for Assert.ThrowsExcep
15.
▲
by
dbremner
9y ago
Here is a character encoding issue that I ran into about a year ago. git does not support UTF-16LE[0]. The result is that UTF-16LE encoded files will be mangled[1] by the line ending conversion. There is at least one generated Visual Studio
16.
▲
by
dbremner
10y ago
I am writing an interpreter for Gedanken ( https://news.ycombinator.com/item?id=8443298 ).
17.
▲
by
dbremner
10y ago
I have been hacking on CLR Profiler ( https://clrprofiler.codeplex.com/ ) so that it uses less memory, leaks fewer resources, and is faster.
18.
▲
by
dbremner
10y ago
Is http://maclisp.info/pitmanual/hunks.html helpful?
19.
▲
by
dbremner
10y ago
John R. Ellis' doctoral thesis - Bulldog: A Compiler for VLIW Architectures ( http://www.cs.yale.edu/publications/techreports/tr364.pdf ) is an example of excellent technical writing.