My Journey Into Tech
https://www.reddit.com/r/programming/comments/1ntb5u1/my_journey_into_tech/
submitted by /u/ranger0004 (https://www.reddit.com/user/ranger0004)
[link] (https://strider.hashnode.dev/my-journey-into-tech) [comments] (https://www.reddit.com/r/programming/comments/1ntb5u1/my_journey_into_tech/)
https://www.reddit.com/r/programming/comments/1ntb5u1/my_journey_into_tech/
submitted by /u/ranger0004 (https://www.reddit.com/user/ranger0004)
[link] (https://strider.hashnode.dev/my-journey-into-tech) [comments] (https://www.reddit.com/r/programming/comments/1ntb5u1/my_journey_into_tech/)
a good quality code?
https://www.reddit.com/r/programming/comments/1ntbea5/a_good_quality_code/
<!-- SC_OFF -->this is my first "algorithm" so any advice would be really useful, thank you <!-- SC_ON --> submitted by /u/Muhammed_FpI (https://www.reddit.com/user/Muhammed_FpI)
[link] (https://github.com/Naikhm/3EquationsSolver) [comments] (https://www.reddit.com/r/programming/comments/1ntbea5/a_good_quality_code/)
https://www.reddit.com/r/programming/comments/1ntbea5/a_good_quality_code/
<!-- SC_OFF -->this is my first "algorithm" so any advice would be really useful, thank you <!-- SC_ON --> submitted by /u/Muhammed_FpI (https://www.reddit.com/user/Muhammed_FpI)
[link] (https://github.com/Naikhm/3EquationsSolver) [comments] (https://www.reddit.com/r/programming/comments/1ntbea5/a_good_quality_code/)
GTranslate - Translations at the speed of tought
https://www.reddit.com/r/programming/comments/1ntc2f4/gtranslate_translations_at_the_speed_of_tought/
<!-- SC_OFF -->GTranslate - Translate at the speed of tought An open-source, modern and convenience cross-platform application for translations at the speed of thought. Built with Rust Tokio Features Translate text to and from any language Secure auto-updater System Tray & Auto start on boot Available to Windows (MSI) MacOS Linux (beta, due to some Tauri limits) Install (https://gtranslate.app/) Source code (https://github.com/z3ntl3/gtranslate-app) <!-- SC_ON --> submitted by /u/Budget-Bicycle4121 (https://www.reddit.com/user/Budget-Bicycle4121)
[link] (https://gtranslate.app/) [comments] (https://www.reddit.com/r/programming/comments/1ntc2f4/gtranslate_translations_at_the_speed_of_tought/)
https://www.reddit.com/r/programming/comments/1ntc2f4/gtranslate_translations_at_the_speed_of_tought/
<!-- SC_OFF -->GTranslate - Translate at the speed of tought An open-source, modern and convenience cross-platform application for translations at the speed of thought. Built with Rust Tokio Features Translate text to and from any language Secure auto-updater System Tray & Auto start on boot Available to Windows (MSI) MacOS Linux (beta, due to some Tauri limits) Install (https://gtranslate.app/) Source code (https://github.com/z3ntl3/gtranslate-app) <!-- SC_ON --> submitted by /u/Budget-Bicycle4121 (https://www.reddit.com/user/Budget-Bicycle4121)
[link] (https://gtranslate.app/) [comments] (https://www.reddit.com/r/programming/comments/1ntc2f4/gtranslate_translations_at_the_speed_of_tought/)
Cumulative Statistics in PostgreSQL 18
https://www.reddit.com/r/programming/comments/1ntcblx/cumulative_statistics_in_postgresql_18/
submitted by /u/talktomeabouttech (https://www.reddit.com/user/talktomeabouttech)
[link] (https://www.data-bene.io/en/blog/cumulative-statistics-in-postgresql-18/) [comments] (https://www.reddit.com/r/programming/comments/1ntcblx/cumulative_statistics_in_postgresql_18/)
https://www.reddit.com/r/programming/comments/1ntcblx/cumulative_statistics_in_postgresql_18/
submitted by /u/talktomeabouttech (https://www.reddit.com/user/talktomeabouttech)
[link] (https://www.data-bene.io/en/blog/cumulative-statistics-in-postgresql-18/) [comments] (https://www.reddit.com/r/programming/comments/1ntcblx/cumulative_statistics_in_postgresql_18/)
This is actually a really good free workshop
https://www.reddit.com/r/programming/comments/1ntcenk/this_is_actually_a_really_good_free_workshop/
<!-- SC_OFF -->Free 80-minute online workshop called 'How to Understand the Value of Your Code' It covers: Frameworks to measure feature impact How to avoid drowning in meaningless metrics Practical tactics you can apply right away It’s interactive, led by an industry expert, and completely free. Good if you’ve ever had to explain why your team’s work matters to stakeholders. <!-- SC_ON --> submitted by /u/HDev- (https://www.reddit.com/user/HDev-)
[link] (https://leaddev.com/event/how-to-understand-the-value-of-your-code) [comments] (https://www.reddit.com/r/programming/comments/1ntcenk/this_is_actually_a_really_good_free_workshop/)
https://www.reddit.com/r/programming/comments/1ntcenk/this_is_actually_a_really_good_free_workshop/
<!-- SC_OFF -->Free 80-minute online workshop called 'How to Understand the Value of Your Code' It covers: Frameworks to measure feature impact How to avoid drowning in meaningless metrics Practical tactics you can apply right away It’s interactive, led by an industry expert, and completely free. Good if you’ve ever had to explain why your team’s work matters to stakeholders. <!-- SC_ON --> submitted by /u/HDev- (https://www.reddit.com/user/HDev-)
[link] (https://leaddev.com/event/how-to-understand-the-value-of-your-code) [comments] (https://www.reddit.com/r/programming/comments/1ntcenk/this_is_actually_a_really_good_free_workshop/)
Write the "stupid" code
https://www.reddit.com/r/programming/comments/1ntexbp/write_the_stupid_code/
submitted by /u/GarethX (https://www.reddit.com/user/GarethX)
[link] (https://spikepuppet.io/posts/write-the-stupid-code/) [comments] (https://www.reddit.com/r/programming/comments/1ntexbp/write_the_stupid_code/)
https://www.reddit.com/r/programming/comments/1ntexbp/write_the_stupid_code/
submitted by /u/GarethX (https://www.reddit.com/user/GarethX)
[link] (https://spikepuppet.io/posts/write-the-stupid-code/) [comments] (https://www.reddit.com/r/programming/comments/1ntexbp/write_the_stupid_code/)
Why SW Architecture is Mostly Communication • David Whitney, Ian Cooper & Hannes Lowette
https://www.reddit.com/r/programming/comments/1ntiz7l/why_sw_architecture_is_mostly_communication_david/
submitted by /u/goto-con (https://www.reddit.com/user/goto-con)
[link] (https://youtu.be/VMmkHZ4wShA?list=PLEx5khR4g7PJozVmHNpQTVrk1QRC7YaJu) [comments] (https://www.reddit.com/r/programming/comments/1ntiz7l/why_sw_architecture_is_mostly_communication_david/)
https://www.reddit.com/r/programming/comments/1ntiz7l/why_sw_architecture_is_mostly_communication_david/
submitted by /u/goto-con (https://www.reddit.com/user/goto-con)
[link] (https://youtu.be/VMmkHZ4wShA?list=PLEx5khR4g7PJozVmHNpQTVrk1QRC7YaJu) [comments] (https://www.reddit.com/r/programming/comments/1ntiz7l/why_sw_architecture_is_mostly_communication_david/)
How Reference Counting Works Internally in Swift
https://www.reddit.com/r/programming/comments/1ntkr04/how_reference_counting_works_internally_in_swift/
submitted by /u/jacobs-tech-tavern (https://www.reddit.com/user/jacobs-tech-tavern)
[link] (https://blog.jacobstechtavern.com/p/swift-reference-counting) [comments] (https://www.reddit.com/r/programming/comments/1ntkr04/how_reference_counting_works_internally_in_swift/)
https://www.reddit.com/r/programming/comments/1ntkr04/how_reference_counting_works_internally_in_swift/
submitted by /u/jacobs-tech-tavern (https://www.reddit.com/user/jacobs-tech-tavern)
[link] (https://blog.jacobstechtavern.com/p/swift-reference-counting) [comments] (https://www.reddit.com/r/programming/comments/1ntkr04/how_reference_counting_works_internally_in_swift/)
What I Learned Building a Web-Native Programming Language
https://www.reddit.com/r/programming/comments/1ntkzfj/what_i_learned_building_a_webnative_programming/
<!-- SC_OFF -->Over the past few months, I set myself a challenge: could I design a programming language where web development is “built-in” at the syntax level? Instead of using a general-purpose language (Python, JS, etc.) plus a framework, I wanted something where HTML and CSS are first-class citizens. The experiment eventually became an alpha project I call Veyra, but the real value for me has been in the technical lessons learned along the way. 1. Writing a Lexer and Parser From Scratch I started with the basics: a lexer to tokenize the source code and a parser to build an AST. Lesson: error handling is harder than tokenization itself. A clear error message from the parser is worth more than fancy syntax features. I experimented with recursive descent parsing since the grammar is simple. 2. Making HTML and CSS Part of the Language Instead of embedding HTML as strings, I tried this kind of syntax: Copy code Veyra html { h1("Hello, world!") p("This is web-native syntax.") } The compiler converts these blocks into DOM-like structures under the hood. Lesson: Treating HTML as a first-class construct feels elegant, but it complicates the grammar. Balancing simplicity vs. expressiveness is tricky. 3. Designing a Package Manager I built a lightweight package tool (veyra-pm). Lesson: even a basic package manager quickly runs into dependency resolution issues. I had to decide early whether to reinvent or piggyback on Python’s ecosystem. 4. The Interpreter and Runtime The interpreter executes the AST directly. Lesson: performance is “good enough” for toy programs, but without optimization passes, it won’t scale. Designing a runtime that is both minimal and extensible is its own challenge. 5. Balancing Vision vs. Reality Vision: a “modern, web-native” language that reduces boilerplate. Reality: getting even a toy interpreter to run reliably takes weeks of debugging. The hardest part was not coding but deciding what not to include. Open Questions I’d love feedback from others who’ve tried building languages or runtimes: If you were designing a web-first language, how would you structure the syntax? Is it better to stay standalone or embrace interop with existing ecosystems (e.g., Python packages)? Where’s the sweet spot between “toy” and “usable” for new languages? If You’re Curious I’ve shared the code on GitHub (MIT licensed) and a PyPI package for experimentation: GitHub: https://github.com/nishal21/veyra PyPI: https://pypi.org/project/veyra/ It’s still very alpha (v0.1.1), but I’m continuing to iterate. TL;DR: Writing your own language is 20% syntax and 80% design tradeoffs. For me, the experiment has been a great way to learn about parsing, runtime design, and the challenges of building anything “web-native” from scratch. <!-- SC_ON --> submitted by /u/Radiant-Ad-9540 (https://www.reddit.com/user/Radiant-Ad-9540)
[link] (https://github.com/nishal21/veyra) [comments] (https://www.reddit.com/r/programming/comments/1ntkzfj/what_i_learned_building_a_webnative_programming/)
https://www.reddit.com/r/programming/comments/1ntkzfj/what_i_learned_building_a_webnative_programming/
<!-- SC_OFF -->Over the past few months, I set myself a challenge: could I design a programming language where web development is “built-in” at the syntax level? Instead of using a general-purpose language (Python, JS, etc.) plus a framework, I wanted something where HTML and CSS are first-class citizens. The experiment eventually became an alpha project I call Veyra, but the real value for me has been in the technical lessons learned along the way. 1. Writing a Lexer and Parser From Scratch I started with the basics: a lexer to tokenize the source code and a parser to build an AST. Lesson: error handling is harder than tokenization itself. A clear error message from the parser is worth more than fancy syntax features. I experimented with recursive descent parsing since the grammar is simple. 2. Making HTML and CSS Part of the Language Instead of embedding HTML as strings, I tried this kind of syntax: Copy code Veyra html { h1("Hello, world!") p("This is web-native syntax.") } The compiler converts these blocks into DOM-like structures under the hood. Lesson: Treating HTML as a first-class construct feels elegant, but it complicates the grammar. Balancing simplicity vs. expressiveness is tricky. 3. Designing a Package Manager I built a lightweight package tool (veyra-pm). Lesson: even a basic package manager quickly runs into dependency resolution issues. I had to decide early whether to reinvent or piggyback on Python’s ecosystem. 4. The Interpreter and Runtime The interpreter executes the AST directly. Lesson: performance is “good enough” for toy programs, but without optimization passes, it won’t scale. Designing a runtime that is both minimal and extensible is its own challenge. 5. Balancing Vision vs. Reality Vision: a “modern, web-native” language that reduces boilerplate. Reality: getting even a toy interpreter to run reliably takes weeks of debugging. The hardest part was not coding but deciding what not to include. Open Questions I’d love feedback from others who’ve tried building languages or runtimes: If you were designing a web-first language, how would you structure the syntax? Is it better to stay standalone or embrace interop with existing ecosystems (e.g., Python packages)? Where’s the sweet spot between “toy” and “usable” for new languages? If You’re Curious I’ve shared the code on GitHub (MIT licensed) and a PyPI package for experimentation: GitHub: https://github.com/nishal21/veyra PyPI: https://pypi.org/project/veyra/ It’s still very alpha (v0.1.1), but I’m continuing to iterate. TL;DR: Writing your own language is 20% syntax and 80% design tradeoffs. For me, the experiment has been a great way to learn about parsing, runtime design, and the challenges of building anything “web-native” from scratch. <!-- SC_ON --> submitted by /u/Radiant-Ad-9540 (https://www.reddit.com/user/Radiant-Ad-9540)
[link] (https://github.com/nishal21/veyra) [comments] (https://www.reddit.com/r/programming/comments/1ntkzfj/what_i_learned_building_a_webnative_programming/)
Subtleties of SQLite Indexes: Understanding Query Planner Quirks Yielded a 35% Speedup
https://www.reddit.com/r/programming/comments/1ntm6vo/subtleties_of_sqlite_indexes_understanding_query/
submitted by /u/emschwartz (https://www.reddit.com/user/emschwartz)
[link] (https://emschwartz.me/subtleties-of-sqlite-indexes/) [comments] (https://www.reddit.com/r/programming/comments/1ntm6vo/subtleties_of_sqlite_indexes_understanding_query/)
https://www.reddit.com/r/programming/comments/1ntm6vo/subtleties_of_sqlite_indexes_understanding_query/
submitted by /u/emschwartz (https://www.reddit.com/user/emschwartz)
[link] (https://emschwartz.me/subtleties-of-sqlite-indexes/) [comments] (https://www.reddit.com/r/programming/comments/1ntm6vo/subtleties_of_sqlite_indexes_understanding_query/)
Release Orchestration: A Practical Guide for 2025
https://www.reddit.com/r/programming/comments/1ntmq69/release_orchestration_a_practical_guide_for_2025/
<!-- SC_OFF -->Hello everyone, I've been working on a brief series of articles about orchestration techniques for releases. I figured I'd post it here in case it helps anyone. The goal of the series is to provide a useful summary of various methods and strategies for planning releases in contemporary development settings. If you have any thoughts or experiences with release orchestration, please share them with us! <!-- SC_ON --> submitted by /u/LevelRelationship732 (https://www.reddit.com/user/LevelRelationship732)
[link] (https://www.dorokhovich.com/blog/release-orchestration?utm=reddit) [comments] (https://www.reddit.com/r/programming/comments/1ntmq69/release_orchestration_a_practical_guide_for_2025/)
https://www.reddit.com/r/programming/comments/1ntmq69/release_orchestration_a_practical_guide_for_2025/
<!-- SC_OFF -->Hello everyone, I've been working on a brief series of articles about orchestration techniques for releases. I figured I'd post it here in case it helps anyone. The goal of the series is to provide a useful summary of various methods and strategies for planning releases in contemporary development settings. If you have any thoughts or experiences with release orchestration, please share them with us! <!-- SC_ON --> submitted by /u/LevelRelationship732 (https://www.reddit.com/user/LevelRelationship732)
[link] (https://www.dorokhovich.com/blog/release-orchestration?utm=reddit) [comments] (https://www.reddit.com/r/programming/comments/1ntmq69/release_orchestration_a_practical_guide_for_2025/)
Understanding New Turing Machine Results with Simple Programs and Fast Visualizations
https://www.reddit.com/r/programming/comments/1ntn8gy/understanding_new_turing_machine_results_with/
<!-- SC_OFF -->A new talk explains Busy Beaver results, shows how to compute 10↑↑15 in a short program, and shares techniques for efficiently visualizing Turing machines. <!-- SC_ON --> submitted by /u/carlk22 (https://www.reddit.com/user/carlk22)
[link] (https://www.youtube.com/watch?v=ec-ucXJ4x-0) [comments] (https://www.reddit.com/r/programming/comments/1ntn8gy/understanding_new_turing_machine_results_with/)
https://www.reddit.com/r/programming/comments/1ntn8gy/understanding_new_turing_machine_results_with/
<!-- SC_OFF -->A new talk explains Busy Beaver results, shows how to compute 10↑↑15 in a short program, and shares techniques for efficiently visualizing Turing machines. <!-- SC_ON --> submitted by /u/carlk22 (https://www.reddit.com/user/carlk22)
[link] (https://www.youtube.com/watch?v=ec-ucXJ4x-0) [comments] (https://www.reddit.com/r/programming/comments/1ntn8gy/understanding_new_turing_machine_results_with/)
Built a File-to-File Streaming Pipeline with Kafka Connect
https://www.reddit.com/r/programming/comments/1nto2zd/built_a_filetofile_streaming_pipeline_with_kafka/
<!-- SC_OFF -->Hi everyone,
Thanks to the overwhelming response to my previous Kafka basics post, I decided to explore more advanced concepts, starting with Kafka Connect. I hope you find this blog insightful and enjoyable! If you’re new to Kafka, I encourage you to read this post and share your feedback, I’d love to hear your thoughts. Thank you! 😊 <!-- SC_ON --> submitted by /u/Dhairya-chauhan (https://www.reddit.com/user/Dhairya-chauhan)
[link] (https://open.substack.com/pub/memoizethebackend/p/kafka-connect-in-action-streaming?r=2n87ha&utm_campaign=post&utm_medium=web&showWelcomeOnShare=false) [comments] (https://www.reddit.com/r/programming/comments/1nto2zd/built_a_filetofile_streaming_pipeline_with_kafka/)
https://www.reddit.com/r/programming/comments/1nto2zd/built_a_filetofile_streaming_pipeline_with_kafka/
<!-- SC_OFF -->Hi everyone,
Thanks to the overwhelming response to my previous Kafka basics post, I decided to explore more advanced concepts, starting with Kafka Connect. I hope you find this blog insightful and enjoyable! If you’re new to Kafka, I encourage you to read this post and share your feedback, I’d love to hear your thoughts. Thank you! 😊 <!-- SC_ON --> submitted by /u/Dhairya-chauhan (https://www.reddit.com/user/Dhairya-chauhan)
[link] (https://open.substack.com/pub/memoizethebackend/p/kafka-connect-in-action-streaming?r=2n87ha&utm_campaign=post&utm_medium=web&showWelcomeOnShare=false) [comments] (https://www.reddit.com/r/programming/comments/1nto2zd/built_a_filetofile_streaming_pipeline_with_kafka/)
Inside NVIDIA GPUs: Anatomy of high performance matmul kernels
https://www.reddit.com/r/programming/comments/1ntprvz/inside_nvidia_gpus_anatomy_of_high_performance/
submitted by /u/mttd (https://www.reddit.com/user/mttd)
[link] (https://www.aleksagordic.com/blog/matmul) [comments] (https://www.reddit.com/r/programming/comments/1ntprvz/inside_nvidia_gpus_anatomy_of_high_performance/)
https://www.reddit.com/r/programming/comments/1ntprvz/inside_nvidia_gpus_anatomy_of_high_performance/
submitted by /u/mttd (https://www.reddit.com/user/mttd)
[link] (https://www.aleksagordic.com/blog/matmul) [comments] (https://www.reddit.com/r/programming/comments/1ntprvz/inside_nvidia_gpus_anatomy_of_high_performance/)
Intel's original 64bit extensions for x86
https://www.reddit.com/r/programming/comments/1ntsl3l/intels_original_64bit_extensions_for_x86/
submitted by /u/simon_o (https://www.reddit.com/user/simon_o)
[link] (https://soc.me/interfaces/intels-original-64bit-extensions-for-x86) [comments] (https://www.reddit.com/r/programming/comments/1ntsl3l/intels_original_64bit_extensions_for_x86/)
https://www.reddit.com/r/programming/comments/1ntsl3l/intels_original_64bit_extensions_for_x86/
submitted by /u/simon_o (https://www.reddit.com/user/simon_o)
[link] (https://soc.me/interfaces/intels-original-64bit-extensions-for-x86) [comments] (https://www.reddit.com/r/programming/comments/1ntsl3l/intels_original_64bit_extensions_for_x86/)
The problem with Object Oriented Programming and Deep Inheritance
https://www.reddit.com/r/programming/comments/1nty75l/the_problem_with_object_oriented_programming_and/
submitted by /u/MinimumMagician5302 (https://www.reddit.com/user/MinimumMagician5302)
[link] (https://youtu.be/V372XIdtOQw) [comments] (https://www.reddit.com/r/programming/comments/1nty75l/the_problem_with_object_oriented_programming_and/)
https://www.reddit.com/r/programming/comments/1nty75l/the_problem_with_object_oriented_programming_and/
submitted by /u/MinimumMagician5302 (https://www.reddit.com/user/MinimumMagician5302)
[link] (https://youtu.be/V372XIdtOQw) [comments] (https://www.reddit.com/r/programming/comments/1nty75l/the_problem_with_object_oriented_programming_and/)
Editable pdf with disk access
https://www.reddit.com/r/programming/comments/1ntzd7l/editable_pdf_with_disk_access/
<!-- SC_OFF -->Is it possible to create a PDF with editable fields that can also access files on disk, such as images, graphics, etc.? Or do the two contradict each other due to the PDF's secure format? My closest solution is to create a fillable form and then create the PDF, as the idea is to optimize the format and only change the desired fields. But I don't know if there's a more consistent approach, or if this is possible... <!-- SC_ON --> submitted by /u/MinimumGap9692 (https://www.reddit.com/user/MinimumGap9692)
[link] (https://www.reddit.com/r/programming/submit/?type=LINK) [comments] (https://www.reddit.com/r/programming/comments/1ntzd7l/editable_pdf_with_disk_access/)
https://www.reddit.com/r/programming/comments/1ntzd7l/editable_pdf_with_disk_access/
<!-- SC_OFF -->Is it possible to create a PDF with editable fields that can also access files on disk, such as images, graphics, etc.? Or do the two contradict each other due to the PDF's secure format? My closest solution is to create a fillable form and then create the PDF, as the idea is to optimize the format and only change the desired fields. But I don't know if there's a more consistent approach, or if this is possible... <!-- SC_ON --> submitted by /u/MinimumGap9692 (https://www.reddit.com/user/MinimumGap9692)
[link] (https://www.reddit.com/r/programming/submit/?type=LINK) [comments] (https://www.reddit.com/r/programming/comments/1ntzd7l/editable_pdf_with_disk_access/)
[Release] virtualshell: Python ↔ PowerShell bridge with C++ backend (async, long-lived sessions)
https://www.reddit.com/r/programming/comments/1ntzy1r/release_virtualshell_python_powershell_bridge/
<!-- SC_OFF -->I've released the first version of virtualshell, a Python package that embeds a long-lived PowerShell process behind a C++17 / pybind11 extension. Why it matters: Normal subprocess.run(["pwsh", "-c", ...]) has cold-start overhead (~150–400 ms). This keeps a single PowerShell instance alive, so you can reuse modules, $env:*, and functions between calls. Async API: fire thousands of commands concurrently, results delivered via Futures or callbacks. Thin Python wrapper: all process and pipe I/O is handled in C++ for performance. Benchmarks (Win11, Python 3.13, single pwsh): Latency (tiny cmd): ~20 ms avg Throughput (async, window=64): ~175 cmd/s Heavy OUT (200×512B): ~84 cmd/s Sustained: 5000 async cmds in 54 s (0 errors, no hangs) Install (Windows x64, Python 3.8–3.13): pip install -i https://test.pypi.org/simple/ virtualshell==0.0.0 Code sample: from virtualshell import Shell with Shell(timeout_seconds=3) as sh: res = sh.execute("Write-Output 'hello world'") print(res.output.strip()) Repo: github.com/Chamoswor/virtualshell (https://github.com/Chamoswor/virtualshell) Linux build matrix exists but hasn’t been tested yet. Feedback / benchmarks on other systems would be very welcome. <!-- SC_ON --> submitted by /u/Chamoswor (https://www.reddit.com/user/Chamoswor)
[link] (https://github.com/Chamoswor/virtualshell) [comments] (https://www.reddit.com/r/programming/comments/1ntzy1r/release_virtualshell_python_powershell_bridge/)
https://www.reddit.com/r/programming/comments/1ntzy1r/release_virtualshell_python_powershell_bridge/
<!-- SC_OFF -->I've released the first version of virtualshell, a Python package that embeds a long-lived PowerShell process behind a C++17 / pybind11 extension. Why it matters: Normal subprocess.run(["pwsh", "-c", ...]) has cold-start overhead (~150–400 ms). This keeps a single PowerShell instance alive, so you can reuse modules, $env:*, and functions between calls. Async API: fire thousands of commands concurrently, results delivered via Futures or callbacks. Thin Python wrapper: all process and pipe I/O is handled in C++ for performance. Benchmarks (Win11, Python 3.13, single pwsh): Latency (tiny cmd): ~20 ms avg Throughput (async, window=64): ~175 cmd/s Heavy OUT (200×512B): ~84 cmd/s Sustained: 5000 async cmds in 54 s (0 errors, no hangs) Install (Windows x64, Python 3.8–3.13): pip install -i https://test.pypi.org/simple/ virtualshell==0.0.0 Code sample: from virtualshell import Shell with Shell(timeout_seconds=3) as sh: res = sh.execute("Write-Output 'hello world'") print(res.output.strip()) Repo: github.com/Chamoswor/virtualshell (https://github.com/Chamoswor/virtualshell) Linux build matrix exists but hasn’t been tested yet. Feedback / benchmarks on other systems would be very welcome. <!-- SC_ON --> submitted by /u/Chamoswor (https://www.reddit.com/user/Chamoswor)
[link] (https://github.com/Chamoswor/virtualshell) [comments] (https://www.reddit.com/r/programming/comments/1ntzy1r/release_virtualshell_python_powershell_bridge/)
Terminals, TTY, PTY, and ANSI Escape Codes
https://www.reddit.com/r/programming/comments/1nu0lol/terminals_tty_pty_and_ansi_escape_codes/
submitted by /u/Helpful_Geologist430 (https://www.reddit.com/user/Helpful_Geologist430)
[link] (https://youtu.be/4GBp_WTG66Q) [comments] (https://www.reddit.com/r/programming/comments/1nu0lol/terminals_tty_pty_and_ansi_escape_codes/)
https://www.reddit.com/r/programming/comments/1nu0lol/terminals_tty_pty_and_ansi_escape_codes/
submitted by /u/Helpful_Geologist430 (https://www.reddit.com/user/Helpful_Geologist430)
[link] (https://youtu.be/4GBp_WTG66Q) [comments] (https://www.reddit.com/r/programming/comments/1nu0lol/terminals_tty_pty_and_ansi_escape_codes/)
Ray and Oriented-Box Intersection Detection Tutorial
https://www.reddit.com/r/programming/comments/1nu7kh2/ray_and_orientedbox_intersection_detection/
submitted by /u/PeterBrobby (https://www.reddit.com/user/PeterBrobby)
[link] (https://www.youtube.com/watch?v=EazcrarrS2o) [comments] (https://www.reddit.com/r/programming/comments/1nu7kh2/ray_and_orientedbox_intersection_detection/)
https://www.reddit.com/r/programming/comments/1nu7kh2/ray_and_orientedbox_intersection_detection/
submitted by /u/PeterBrobby (https://www.reddit.com/user/PeterBrobby)
[link] (https://www.youtube.com/watch?v=EazcrarrS2o) [comments] (https://www.reddit.com/r/programming/comments/1nu7kh2/ray_and_orientedbox_intersection_detection/)