Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vitaut
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
121.
▲
Replacing 32- with 64-bit loop counter introduces crazy performance deviations
(stackoverflow.com)
5 points
by
vitaut
6y ago
|
0 comments
122.
▲
SwiftDtoa v2: Better, Smaller, Faster floating-point formatting
(github.com)
3 points
by
vitaut
6y ago
|
0 comments
123.
▲
Mold: A Modern Linker
(github.com)
5 points
by
vitaut
6y ago
|
0 comments
124.
▲
Binary Grep
(github.com)
3 points
by
vitaut
6y ago
|
0 comments
125.
▲
Compile-time Huffman coding compression
(github.com)
3 points
by
vitaut
6y ago
|
0 comments
126.
▲
Legit: Git commits as an esoteric programming language
(morr.cc)
3 points
by
vitaut
6y ago
|
0 comments
127.
▲
Performance Matters – Emery Berger
(youtube.com)
1 points
by
vitaut
6y ago
|
0 comments
128.
▲
The Schubfach way to render doubles
(drive.google.com)
1 points
by
vitaut
6y ago
|
0 comments
129.
▲
Create a fully functioning command line interface with 1.5 lines of code
(github.com)
43 points
by
vitaut
6y ago
|
20 comments
130.
▲
Conway's Game of Life running in a terminal
(github.com)
1 points
by
vitaut
6y ago
|
0 comments
131.
▲
Brian Kernighan: Unix, C, Awk, AMPL, and Go Programming – AI Podcast
(youtube.com)
1 points
by
vitaut
6y ago
|
0 comments
132.
▲
Compiler Explorer now supports linking with some of the libraries
(github.com)
1 points
by
vitaut
6y ago
|
0 comments
133.
▲
by
vitaut
6y ago
It implements nearly all of C++20 std::format: https://fmt.dev/dev/api.html#compatibility-with-c-20-std-for...
134.
▲
An open-source formatting library {fmt} version 7.0 released
(github.com)
1 points
by
vitaut
6y ago
|
1 comments
135.
▲
Converting a hundred million integers to strings per second
(zverovich.net)
4 points
by
vitaut
6y ago
|
0 comments
136.
▲
by
vitaut
6y ago
If std::string construction was the goal then sure, but that's not what the original benchmark that I've written was about. The goal was to find the fastest way to format an integer with or without std::string construction: http:
137.
▲
by
vitaut
6y ago
The new benchmark is even less meaningful because 1. It now constructs unnecessary `std::string` penalizing `format_int`: value+=fmt::format_int(i).str().size(); 2. The input is consecutive numbers which makes branches well predicted which
138.
▲
by
vitaut
6y ago
> All i/o libraries eventually hit OS barrier Indeed. > I can't really see how it could be optimised to gain 6x speed up. Performance claims appear to not even be based on I/O but only on two formatting microbenchmarks
139.
▲
by
vitaut
6y ago
The formatting part but unfortunately it's just a clickbait: https://news.ycombinator.com/item?id=23311726
140.
▲
by
vitaut
6y ago
Unfortunately performance claims appear to be bogus. 1. ospan, performance claims seem to be based on, doesn't do any bound checks, so you can easily get buffer overflow. 2. fast_io generates a whopping 50kB of static data just to form
141.
▲
by
vitaut
6y ago
In case anyone is interested here's brief history of standardizing std::format: http://www.zverovich.net/2019/07/23/std-format-cpp20.html
142.
▲
Proving that C++'s grammar is undecidable
(medium.com)
76 points
by
vitaut
6y ago
|
64 comments
143.
▲
Bach's prelude in C major written in sed
(github.com)
88 points
by
vitaut
7y ago
|
14 comments
144.
▲
Fast function to parse strings into double (binary64) floating-point values
(github.com)
73 points
by
vitaut
7y ago
|
56 comments
145.
▲
Indicators show potatoes can grow on Mars
(cipotato.org)
1 points
by
vitaut
7y ago
|
0 comments
146.
▲
by
vitaut
7y ago
FWIW {fmt} already supports formatting of containers, tuples and ranges as of version 5.0 ( https://github.com/fmtlib/fmt/releases/tag/5.0.0 ), for example: #include <fmt/ranges.h> std::v
147.
▲
by
vitaut
7y ago
A lot of work has been done since 2017: the proposal is at its 9th revision ( http://fmtlib.net/D0645R9.html ) and is prioritized (but not accepted yet) for C++20.
148.
▲
Collection Pipeline
(martinfowler.com)
2 points
by
vitaut
8y ago
|
0 comments
149.
▲
by
vitaut
8y ago
You don't have to use Doxygen with Sphinx although you can.
150.
▲
by
vitaut
8y ago
Sphinx ( http://www.sphinx-doc.org ) used by Python and some C++ projects like LLVM provides a modern high-quality alternative to Doxygen.
More ›