I ported Daniel Lemire's fast_float to c99
https://www.reddit.com/r/programming/comments/1rnswm5/i_ported_daniel_lemires_fast_float_to_c99/
<!-- SC_OFF -->It's a single-header drop in that's been exhaustively tested against the fast_float suite and is benchmarking slightly faster than the cpp. simd, portable, single-header, no allocation, so hot right now <!-- SC_ON --> submitted by /u/foobear777 (https://www.reddit.com/user/foobear777)
[link] (http://github.com/kolemannix/ffc.h) [comments] (https://www.reddit.com/r/programming/comments/1rnswm5/i_ported_daniel_lemires_fast_float_to_c99/)
https://www.reddit.com/r/programming/comments/1rnswm5/i_ported_daniel_lemires_fast_float_to_c99/
<!-- SC_OFF -->It's a single-header drop in that's been exhaustively tested against the fast_float suite and is benchmarking slightly faster than the cpp. simd, portable, single-header, no allocation, so hot right now <!-- SC_ON --> submitted by /u/foobear777 (https://www.reddit.com/user/foobear777)
[link] (http://github.com/kolemannix/ffc.h) [comments] (https://www.reddit.com/r/programming/comments/1rnswm5/i_ported_daniel_lemires_fast_float_to_c99/)
Looking for textbookπ: Finite Automata and Formal Languages: A Simple Approach, by A. M. Padma Reddy, published by Pearson Education India. π
https://www.reddit.com/r/programming/comments/1rnu1d1/looking_for_textbook_finite_automata_and_formal/
<!-- SC_OFF -->Hi everyone, My university syllabus for Theory of Computation / Automata Theory recommends the book: Finite Automata and Formal Languages: A Simple Approach β A. M. Padma Reddy Has anyone here used this book before or know where I could: β’ access a legal PDF or ebook
β’ borrow it through a digital library
β’ find lecture notes or alternative books that cover the same topics If not, I'd also appreciate recommendations for good alternative textbooks covering: Module I: Introduction to Finite Automata Central Concepts of Automata Theory Deterministic Finite Automata (DFA) Nondeterministic Finite Automata (NFA) Applications of Finite Automata Finite Automata with Ξ΅-Transitions Module II: Regular Expressions Regular Languages Properties Module III: Properties of Regular Languages Context-Free Grammars Module IV: Pushdown Automata Context-Free Languages Module V: Turing Machines Undecidability Any help or recommendations would be appreciated. Thanks! π Thanks in advance! π <!-- SC_ON --> submitted by /u/Broad-Ad2003 (https://www.reddit.com/user/Broad-Ad2003)
[link] (https://www.google.com/search?q=Finite+Automata+and+Formal+Languages%3A+A+Simple+Approach%2C+by+A.+M.+Padma+Reddy&rlz=1C1VDKB_enIN1111IN1112&oq=Finite+Automata+and+Formal+Languages%3A+A+Simple+Approach%2C+by+A.+M.+Padma+Reddy&gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIGCAEQRRhBMgYIAhBFGEEyBggDEEUYPDIGCAQQRRhB0gEHNjQzajBqN6gCALACAA&sourceid=chrome&ie=UTF-8) [comments] (https://www.reddit.com/r/programming/comments/1rnu1d1/looking_for_textbook_finite_automata_and_formal/)
https://www.reddit.com/r/programming/comments/1rnu1d1/looking_for_textbook_finite_automata_and_formal/
<!-- SC_OFF -->Hi everyone, My university syllabus for Theory of Computation / Automata Theory recommends the book: Finite Automata and Formal Languages: A Simple Approach β A. M. Padma Reddy Has anyone here used this book before or know where I could: β’ access a legal PDF or ebook
β’ borrow it through a digital library
β’ find lecture notes or alternative books that cover the same topics If not, I'd also appreciate recommendations for good alternative textbooks covering: Module I: Introduction to Finite Automata Central Concepts of Automata Theory Deterministic Finite Automata (DFA) Nondeterministic Finite Automata (NFA) Applications of Finite Automata Finite Automata with Ξ΅-Transitions Module II: Regular Expressions Regular Languages Properties Module III: Properties of Regular Languages Context-Free Grammars Module IV: Pushdown Automata Context-Free Languages Module V: Turing Machines Undecidability Any help or recommendations would be appreciated. Thanks! π Thanks in advance! π <!-- SC_ON --> submitted by /u/Broad-Ad2003 (https://www.reddit.com/user/Broad-Ad2003)
[link] (https://www.google.com/search?q=Finite+Automata+and+Formal+Languages%3A+A+Simple+Approach%2C+by+A.+M.+Padma+Reddy&rlz=1C1VDKB_enIN1111IN1112&oq=Finite+Automata+and+Formal+Languages%3A+A+Simple+Approach%2C+by+A.+M.+Padma+Reddy&gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIGCAEQRRhBMgYIAhBFGEEyBggDEEUYPDIGCAQQRRhB0gEHNjQzajBqN6gCALACAA&sourceid=chrome&ie=UTF-8) [comments] (https://www.reddit.com/r/programming/comments/1rnu1d1/looking_for_textbook_finite_automata_and_formal/)
Avoiding Modern C++ | Anton Mikhailov
https://www.reddit.com/r/programming/comments/1rnu5lj/avoiding_modern_c_anton_mikhailov/
submitted by /u/BlueGoliath (https://www.reddit.com/user/BlueGoliath)
[link] (https://www.youtube.com/watch?v=ShSGHb65f3M) [comments] (https://www.reddit.com/r/programming/comments/1rnu5lj/avoiding_modern_c_anton_mikhailov/)
https://www.reddit.com/r/programming/comments/1rnu5lj/avoiding_modern_c_anton_mikhailov/
submitted by /u/BlueGoliath (https://www.reddit.com/user/BlueGoliath)
[link] (https://www.youtube.com/watch?v=ShSGHb65f3M) [comments] (https://www.reddit.com/r/programming/comments/1rnu5lj/avoiding_modern_c_anton_mikhailov/)
BlockLike: Bridging the gap between block programming and JavaScript.
https://www.reddit.com/r/programming/comments/1rnvmk7/blocklike_bridging_the_gap_between_block/
submitted by /u/ronilan (https://www.reddit.com/user/ronilan)
[link] (https://github.com/ronilan/BlockLike) [comments] (https://www.reddit.com/r/programming/comments/1rnvmk7/blocklike_bridging_the_gap_between_block/)
https://www.reddit.com/r/programming/comments/1rnvmk7/blocklike_bridging_the_gap_between_block/
submitted by /u/ronilan (https://www.reddit.com/user/ronilan)
[link] (https://github.com/ronilan/BlockLike) [comments] (https://www.reddit.com/r/programming/comments/1rnvmk7/blocklike_bridging_the_gap_between_block/)
Some Words on Wigglypaint
https://www.reddit.com/r/programming/comments/1rnw0h5/some_words_on_wigglypaint/
submitted by /u/rogual (https://www.reddit.com/user/rogual)
[link] (https://beyondloom.com/blog/onwigglypaint.html) [comments] (https://www.reddit.com/r/programming/comments/1rnw0h5/some_words_on_wigglypaint/)
https://www.reddit.com/r/programming/comments/1rnw0h5/some_words_on_wigglypaint/
submitted by /u/rogual (https://www.reddit.com/user/rogual)
[link] (https://beyondloom.com/blog/onwigglypaint.html) [comments] (https://www.reddit.com/r/programming/comments/1rnw0h5/some_words_on_wigglypaint/)
LLM-driven large code rewrites with relicensing are the latest AI concern
https://www.reddit.com/r/programming/comments/1ro2w8v/llmdriven_large_code_rewrites_with_relicensing/
submitted by /u/Fcking_Chuck (https://www.reddit.com/user/Fcking_Chuck)
[link] (https://www.phoronix.com/news/Chardet-LLM-Rewrite-Relicense) [comments] (https://www.reddit.com/r/programming/comments/1ro2w8v/llmdriven_large_code_rewrites_with_relicensing/)
https://www.reddit.com/r/programming/comments/1ro2w8v/llmdriven_large_code_rewrites_with_relicensing/
submitted by /u/Fcking_Chuck (https://www.reddit.com/user/Fcking_Chuck)
[link] (https://www.phoronix.com/news/Chardet-LLM-Rewrite-Relicense) [comments] (https://www.reddit.com/r/programming/comments/1ro2w8v/llmdriven_large_code_rewrites_with_relicensing/)
Quantum simulates properties of the first-ever half-MΓΆbius molecule, designed by IBM and researchers
https://www.reddit.com/r/programming/comments/1ro3f3a/quantum_simulates_properties_of_the_firstever/
submitted by /u/donutloop (https://www.reddit.com/user/donutloop)
[link] (https://research.ibm.com/blog/half-mobius-molecule) [comments] (https://www.reddit.com/r/programming/comments/1ro3f3a/quantum_simulates_properties_of_the_firstever/)
https://www.reddit.com/r/programming/comments/1ro3f3a/quantum_simulates_properties_of_the_firstever/
submitted by /u/donutloop (https://www.reddit.com/user/donutloop)
[link] (https://research.ibm.com/blog/half-mobius-molecule) [comments] (https://www.reddit.com/r/programming/comments/1ro3f3a/quantum_simulates_properties_of_the_firstever/)
OSS Coding Agent with Self-hosted LLM: own the whole stack with Opencode and vLLM
https://www.reddit.com/r/programming/comments/1ro3tl5/oss_coding_agent_with_selfhosted_llm_own_the/
submitted by /u/RelevantEmergency707 (https://www.reddit.com/user/RelevantEmergency707)
[link] (https://cefboud.com/posts/coding-agent-self-hosted-llm-opencode-vllm/) [comments] (https://www.reddit.com/r/programming/comments/1ro3tl5/oss_coding_agent_with_selfhosted_llm_own_the/)
https://www.reddit.com/r/programming/comments/1ro3tl5/oss_coding_agent_with_selfhosted_llm_own_the/
submitted by /u/RelevantEmergency707 (https://www.reddit.com/user/RelevantEmergency707)
[link] (https://cefboud.com/posts/coding-agent-self-hosted-llm-opencode-vllm/) [comments] (https://www.reddit.com/r/programming/comments/1ro3tl5/oss_coding_agent_with_selfhosted_llm_own_the/)
NestJS is a bad Typescript framework
https://www.reddit.com/r/programming/comments/1ro40xj/nestjs_is_a_bad_typescript_framework/
submitted by /u/SkaceKachna (https://www.reddit.com/user/SkaceKachna)
[link] (https://blog.skacekamen.dev/posts/nest-js-is-not-really-good/) [comments] (https://www.reddit.com/r/programming/comments/1ro40xj/nestjs_is_a_bad_typescript_framework/)
https://www.reddit.com/r/programming/comments/1ro40xj/nestjs_is_a_bad_typescript_framework/
submitted by /u/SkaceKachna (https://www.reddit.com/user/SkaceKachna)
[link] (https://blog.skacekamen.dev/posts/nest-js-is-not-really-good/) [comments] (https://www.reddit.com/r/programming/comments/1ro40xj/nestjs_is_a_bad_typescript_framework/)
State of WASI support for CPython: March 2026
https://www.reddit.com/r/programming/comments/1ro4exs/state_of_wasi_support_for_cpython_march_2026/
submitted by /u/mariuz (https://www.reddit.com/user/mariuz)
[link] (https://snarky.ca/state-of-wasi-support-for-cpython-march-2026/) [comments] (https://www.reddit.com/r/programming/comments/1ro4exs/state_of_wasi_support_for_cpython_march_2026/)
https://www.reddit.com/r/programming/comments/1ro4exs/state_of_wasi_support_for_cpython_march_2026/
submitted by /u/mariuz (https://www.reddit.com/user/mariuz)
[link] (https://snarky.ca/state-of-wasi-support-for-cpython-march-2026/) [comments] (https://www.reddit.com/r/programming/comments/1ro4exs/state_of_wasi_support_for_cpython_march_2026/)
Learn Observer Pattern the Easy Way | Java Design Patterns
https://www.reddit.com/r/programming/comments/1ro52s1/learn_observer_pattern_the_easy_way_java_design/
<!-- SC_OFF -->Documenting my journey learning design patterns. Today: Observer Pattern Simple explanation + example. Would love feedback from devs here. <!-- SC_ON --> submitted by /u/Big-Conflict-2600 (https://www.reddit.com/user/Big-Conflict-2600)
[link] (https://youtu.be/SxTmZ5QLTEc) [comments] (https://www.reddit.com/r/programming/comments/1ro52s1/learn_observer_pattern_the_easy_way_java_design/)
https://www.reddit.com/r/programming/comments/1ro52s1/learn_observer_pattern_the_easy_way_java_design/
<!-- SC_OFF -->Documenting my journey learning design patterns. Today: Observer Pattern Simple explanation + example. Would love feedback from devs here. <!-- SC_ON --> submitted by /u/Big-Conflict-2600 (https://www.reddit.com/user/Big-Conflict-2600)
[link] (https://youtu.be/SxTmZ5QLTEc) [comments] (https://www.reddit.com/r/programming/comments/1ro52s1/learn_observer_pattern_the_easy_way_java_design/)
How Injection Keeps Breaking Real Systems
https://www.reddit.com/r/programming/comments/1ro8sei/how_injection_keeps_breaking_real_systems/
submitted by /u/Missics (https://www.reddit.com/user/Missics)
[link] (https://www.eliranturgeman.com/2026/03/06/malicious-user-input/) [comments] (https://www.reddit.com/r/programming/comments/1ro8sei/how_injection_keeps_breaking_real_systems/)
https://www.reddit.com/r/programming/comments/1ro8sei/how_injection_keeps_breaking_real_systems/
submitted by /u/Missics (https://www.reddit.com/user/Missics)
[link] (https://www.eliranturgeman.com/2026/03/06/malicious-user-input/) [comments] (https://www.reddit.com/r/programming/comments/1ro8sei/how_injection_keeps_breaking_real_systems/)
Two mechanisms for dynamic type checks
https://www.reddit.com/r/programming/comments/1rocnm2/two_mechanisms_for_dynamic_type_checks/
submitted by /u/self (https://www.reddit.com/user/self)
[link] (https://wingolog.org/archives/2026/02/18/two-mechanisms-for-dynamic-type-checks) [comments] (https://www.reddit.com/r/programming/comments/1rocnm2/two_mechanisms_for_dynamic_type_checks/)
https://www.reddit.com/r/programming/comments/1rocnm2/two_mechanisms_for_dynamic_type_checks/
submitted by /u/self (https://www.reddit.com/user/self)
[link] (https://wingolog.org/archives/2026/02/18/two-mechanisms-for-dynamic-type-checks) [comments] (https://www.reddit.com/r/programming/comments/1rocnm2/two_mechanisms_for_dynamic_type_checks/)
Local LLM Stack into a Tool-Using Agent | by Partha Sai Guttikonda | Mar, 2026
https://www.reddit.com/r/programming/comments/1roriuu/local_llm_stack_into_a_toolusing_agent_by_partha/
submitted by /u/pardhu-- (https://www.reddit.com/user/pardhu--)
[link] (https://guttikondaparthasai.medium.com/local-llm-stack-into-a-tool-using-agent-ea7db102939a) [comments] (https://www.reddit.com/r/programming/comments/1roriuu/local_llm_stack_into_a_toolusing_agent_by_partha/)
https://www.reddit.com/r/programming/comments/1roriuu/local_llm_stack_into_a_toolusing_agent_by_partha/
submitted by /u/pardhu-- (https://www.reddit.com/user/pardhu--)
[link] (https://guttikondaparthasai.medium.com/local-llm-stack-into-a-tool-using-agent-ea7db102939a) [comments] (https://www.reddit.com/r/programming/comments/1roriuu/local_llm_stack_into_a_toolusing_agent_by_partha/)
Building a strict RFC 8259 JSON parser: what most parsers silently accept and why it matters for deterministic systems
https://www.reddit.com/r/programming/comments/1rp0zl4/building_a_strict_rfc_8259_json_parser_what_most/
<!-- SC_OFF -->Most JSON parsers make deliberate compatibility choices: lone surrogates get replaced, duplicate keys get silently resolved, and non-zero numbers that underflow to IEEE 754 zero are accepted without error. These are reasonable defaults for application code. They become correctness failures when the parsed JSON feeds a system that hashes, signs, or compares by raw bytes. If two parsers handle the same malformed input differently, the downstream bytes diverge, the hash diverges, and the signature fails. This article walks through building a strict RFC 8259 parser in Go that rejects what lenient parsers silently accept. It covers UTF-8 validation in two passes (bulk upfront, then incremental for semantic constraints like noncharacter rejection and surrogate detection on decoded code points), surrogate pair handling where lone surrogates are rejected per RFC 7493 while valid pairs are decoded and reassembled, duplicate key detection after escape decoding (because "\u0061" and "a" are the same key), number grammar enforcement in four layers (leading zeros, missing fraction digits, lexical negative zero, and overflow/underflow detection), and seven independent resource bounds for denial-of-service protection on untrusted input. The parser exists because canonicalization requires a one-to-one mapping between accepted input and canonical output. Silent leniency breaks that mapping. The article includes the actual implementation code for each section. <!-- SC_ON --> submitted by /u/UsrnameNotFound-404 (https://www.reddit.com/user/UsrnameNotFound-404)
[link] (https://lattice-substrate.github.io/blog/2026/02/26/strict-rfc8259-json-parser/) [comments] (https://www.reddit.com/r/programming/comments/1rp0zl4/building_a_strict_rfc_8259_json_parser_what_most/)
https://www.reddit.com/r/programming/comments/1rp0zl4/building_a_strict_rfc_8259_json_parser_what_most/
<!-- SC_OFF -->Most JSON parsers make deliberate compatibility choices: lone surrogates get replaced, duplicate keys get silently resolved, and non-zero numbers that underflow to IEEE 754 zero are accepted without error. These are reasonable defaults for application code. They become correctness failures when the parsed JSON feeds a system that hashes, signs, or compares by raw bytes. If two parsers handle the same malformed input differently, the downstream bytes diverge, the hash diverges, and the signature fails. This article walks through building a strict RFC 8259 parser in Go that rejects what lenient parsers silently accept. It covers UTF-8 validation in two passes (bulk upfront, then incremental for semantic constraints like noncharacter rejection and surrogate detection on decoded code points), surrogate pair handling where lone surrogates are rejected per RFC 7493 while valid pairs are decoded and reassembled, duplicate key detection after escape decoding (because "\u0061" and "a" are the same key), number grammar enforcement in four layers (leading zeros, missing fraction digits, lexical negative zero, and overflow/underflow detection), and seven independent resource bounds for denial-of-service protection on untrusted input. The parser exists because canonicalization requires a one-to-one mapping between accepted input and canonical output. Silent leniency breaks that mapping. The article includes the actual implementation code for each section. <!-- SC_ON --> submitted by /u/UsrnameNotFound-404 (https://www.reddit.com/user/UsrnameNotFound-404)
[link] (https://lattice-substrate.github.io/blog/2026/02/26/strict-rfc8259-json-parser/) [comments] (https://www.reddit.com/r/programming/comments/1rp0zl4/building_a_strict_rfc_8259_json_parser_what_most/)
Why glibc is faster on some Github Actions Runners
https://www.reddit.com/r/programming/comments/1rp2mbc/why_glibc_is_faster_on_some_github_actions_runners/
submitted by /u/not-matthias (https://www.reddit.com/user/not-matthias)
[link] (https://codspeed.io/blog/why-glibc-faster-github-actions) [comments] (https://www.reddit.com/r/programming/comments/1rp2mbc/why_glibc_is_faster_on_some_github_actions_runners/)
https://www.reddit.com/r/programming/comments/1rp2mbc/why_glibc_is_faster_on_some_github_actions_runners/
submitted by /u/not-matthias (https://www.reddit.com/user/not-matthias)
[link] (https://codspeed.io/blog/why-glibc-faster-github-actions) [comments] (https://www.reddit.com/r/programming/comments/1rp2mbc/why_glibc_is_faster_on_some_github_actions_runners/)
Is legal the same as legitimate: AI reimplementation and the erosion of copyleft
https://www.reddit.com/r/programming/comments/1rp2vno/is_legal_the_same_as_legitimate_ai/
submitted by /u/hongminhee (https://www.reddit.com/user/hongminhee)
[link] (https://writings.hongminhee.org/2026/03/legal-vs-legitimate/) [comments] (https://www.reddit.com/r/programming/comments/1rp2vno/is_legal_the_same_as_legitimate_ai/)
https://www.reddit.com/r/programming/comments/1rp2vno/is_legal_the_same_as_legitimate_ai/
submitted by /u/hongminhee (https://www.reddit.com/user/hongminhee)
[link] (https://writings.hongminhee.org/2026/03/legal-vs-legitimate/) [comments] (https://www.reddit.com/r/programming/comments/1rp2vno/is_legal_the_same_as_legitimate_ai/)
Linux Internals: How /proc/self/mem writes to unw
https://www.reddit.com/r/programming/comments/1rp398v/linux_internals_how_procselfmem_writes_to_unw/
submitted by /u/Dear-Economics-315 (https://www.reddit.com/user/Dear-Economics-315)
[link] (https://offlinemark.com/an-obscure-quirk-of-proc/) [comments] (https://www.reddit.com/r/programming/comments/1rp398v/linux_internals_how_procselfmem_writes_to_unw/)
https://www.reddit.com/r/programming/comments/1rp398v/linux_internals_how_procselfmem_writes_to_unw/
submitted by /u/Dear-Economics-315 (https://www.reddit.com/user/Dear-Economics-315)
[link] (https://offlinemark.com/an-obscure-quirk-of-proc/) [comments] (https://www.reddit.com/r/programming/comments/1rp398v/linux_internals_how_procselfmem_writes_to_unw/)
Thinnings: Sublist Witnesses and de Bruijn Index Shift Clumping
https://www.reddit.com/r/programming/comments/1rp7wbq/thinnings_sublist_witnesses_and_de_bruijn_index/
submitted by /u/mttd (https://www.reddit.com/user/mttd)
[link] (https://www.philipzucker.com/thin1/) [comments] (https://www.reddit.com/r/programming/comments/1rp7wbq/thinnings_sublist_witnesses_and_de_bruijn_index/)
https://www.reddit.com/r/programming/comments/1rp7wbq/thinnings_sublist_witnesses_and_de_bruijn_index/
submitted by /u/mttd (https://www.reddit.com/user/mttd)
[link] (https://www.philipzucker.com/thin1/) [comments] (https://www.reddit.com/r/programming/comments/1rp7wbq/thinnings_sublist_witnesses_and_de_bruijn_index/)
The hidden cost of 'lightweight' frameworks: Our journey from Tauri to native Rust
https://www.reddit.com/r/programming/comments/1rp80sx/the_hidden_cost_of_lightweight_frameworks_our/
<!-- SC_OFF -->My experience working with WebKit, and why we are almost ditching it at Hopp <!-- SC_ON --> submitted by /u/konsalexee (https://www.reddit.com/user/konsalexee)
[link] (https://gethopp.app/blog/hate-webkit) [comments] (https://www.reddit.com/r/programming/comments/1rp80sx/the_hidden_cost_of_lightweight_frameworks_our/)
https://www.reddit.com/r/programming/comments/1rp80sx/the_hidden_cost_of_lightweight_frameworks_our/
<!-- SC_OFF -->My experience working with WebKit, and why we are almost ditching it at Hopp <!-- SC_ON --> submitted by /u/konsalexee (https://www.reddit.com/user/konsalexee)
[link] (https://gethopp.app/blog/hate-webkit) [comments] (https://www.reddit.com/r/programming/comments/1rp80sx/the_hidden_cost_of_lightweight_frameworks_our/)
Media over QUIC: On a Boat
https://www.reddit.com/r/programming/comments/1rpchtl/media_over_quic_on_a_boat/
submitted by /u/kixelated (https://www.reddit.com/user/kixelated)
[link] (https://moq.dev/blog/on-a-boat/) [comments] (https://www.reddit.com/r/programming/comments/1rpchtl/media_over_quic_on_a_boat/)
https://www.reddit.com/r/programming/comments/1rpchtl/media_over_quic_on_a_boat/
submitted by /u/kixelated (https://www.reddit.com/user/kixelated)
[link] (https://moq.dev/blog/on-a-boat/) [comments] (https://www.reddit.com/r/programming/comments/1rpchtl/media_over_quic_on_a_boat/)