So, using a buffer as both a source and a destination in sprintf() doesn't seem to be explicitly non-compliant.
Like this:
/* write something into buf */
sprintf(buf, "hello");
/* now use buf as a source string, and a destination. */
sprintf(buf, "(%s)", buf);
And yet, i don't think it would be reasonable of me, given the rest of C, to expect this to work.
#C
#c
247 posts · Last used 16m
A C++ Quicksort Faster Than std::sort https://lobste.rs/s/qi2lni #c #c++ #performance
https://tiki.li/blog/about_blqsort
Boosted by @trending@homestead.social
I'm urgently looking for work and would appreciate boosts!
• Start: Immediate
• Location: Australia (UTC+8)
• Type: Remote
• Field: Back-end, front-end, full-stack, embedded
• Experience: 6 years professional, 15 years hobbyist
• Programming: Rust, C, C++, Go, Java, C#, Python, Typescript, Javascript, HTML, CSS, and more
• Tools: AWS, GCP, Kubernetes, Terraform, Docker, Postgres, Nix, GraphQL, gRPC, Linux, OpenTelemetry, and more
• Interests: High-performance computing, low-level programming, distributed systems, embedded devices
• Email: shy.goose1613@fastmail.com
• Website: https://stikić.com
#fedihire #fedihire_au #Fedihired #GetFediHired #hireme #rust #c #cpp #golang
Optimizing reference deletions in Git https://lobste.rs/s/ic1ora #c #performance #rust #vcs
https://nayak.im/posts/optimizing-reference-deletion/
When a language’s creator and its owners strongly disagree: C++26 post-DIS, historical experience, and paths forward https://lobste.rs/s/vlagyq #pdf #c++
https://isocpp.org/files/papers/P4454R0.pdf
Would you believe it's jank? https://lobste.rs/s/xbmjlj #video #c++ #clojure
https://www.youtube.com/watch?v=tHgApFhevrQ
The Problem with C++ Safety: Modern C++ Is a Mindset, Not a Standard https://lobste.rs/s/wq34n7 #c++
https://www.modernescpp.com/index.php/cpp-and-memory-safety-part-2/
No AI, 52 min. Build all Linux Files utils in C by Hand https://lobste.rs/s/daouvo #video #c
https://www.youtube.com/watch?v=gQRmSlcTq9c
Boosted by @welcome@friends.deko.cloud
Hi everyone!
This is my first post here in the Fediverse.
Most of what I am and I do is already covered in my Bio, so I'll keep this short: I'm a FOSS developer and very often I'm into low level, reverse engineering and retrocomputing stuff.
Since 2017, I've been working on my own disassembler engine written in C to challenge myself and learn what it's like to build reverse engineering tools instead of just using them.
I'm looking forward to learning more and sharing knowledge with you all!
#Introduction #ReverseEngineering #OpenSource #FOSS #C
GOTO Considered Totally Sick (for error handling in C) https://lobste.rs/s/exwlmn #c
https://thestateofinahaze.net/blog/c-goto-considered-totally-sick/
Making SIMD Code Scale to Any Vector Width https://lobste.rs/s/3jyfg9 #assembly #c++ #graphics #performance
https://streamhpc.com/blog/2026-10-28/making-simd-code-scale-to-any-vector-width/
Billion-query-per-second lookup tables in C++ https://lobste.rs/s/d3ubhd #c++ #programming
https://lemire.me/blog/2026/10/26/billion-query-per-second-lookup-tables-in-c/
Filian, Fil-C binaries on Debian https://lobste.rs/s/rs6ce2 #c #linux
https://cr.yp.to/2025/fil-c.html
A faster way to compute signed 64-bit floor division by constants https://lobste.rs/s/o5to4p #c++ #performance
https://www.benjoffe.com/fast-floordiv
















