A Warm Welcome to ASN.1 and DER
https://www.reddit.com/r/programming/comments/1nclsok/a_warm_welcome_to_asn1_and_der/
submitted by /u/Perfect-Praline3232 (https://www.reddit.com/user/Perfect-Praline3232)
[link] (https://letsencrypt.org/docs/a-warm-welcome-to-asn1-and-der/) [comments] (https://www.reddit.com/r/programming/comments/1nclsok/a_warm_welcome_to_asn1_and_der/)
https://www.reddit.com/r/programming/comments/1nclsok/a_warm_welcome_to_asn1_and_der/
submitted by /u/Perfect-Praline3232 (https://www.reddit.com/user/Perfect-Praline3232)
[link] (https://letsencrypt.org/docs/a-warm-welcome-to-asn1-and-der/) [comments] (https://www.reddit.com/r/programming/comments/1nclsok/a_warm_welcome_to_asn1_and_der/)
A Short Summary of the Last Decades of Data Management • Hannes Mühleisen
https://www.reddit.com/r/programming/comments/1ncmnj2/a_short_summary_of_the_last_decades_of_data/
submitted by /u/goto-con (https://www.reddit.com/user/goto-con)
[link] (https://youtu.be/-wCzn9gKoUk) [comments] (https://www.reddit.com/r/programming/comments/1ncmnj2/a_short_summary_of_the_last_decades_of_data/)
https://www.reddit.com/r/programming/comments/1ncmnj2/a_short_summary_of_the_last_decades_of_data/
submitted by /u/goto-con (https://www.reddit.com/user/goto-con)
[link] (https://youtu.be/-wCzn9gKoUk) [comments] (https://www.reddit.com/r/programming/comments/1ncmnj2/a_short_summary_of_the_last_decades_of_data/)
Let's make a game! 324: Swapping and rearranging variables
https://www.reddit.com/r/programming/comments/1ncmp2z/lets_make_a_game_324_swapping_and_rearranging/
submitted by /u/apeloverage (https://www.reddit.com/user/apeloverage)
[link] (https://www.youtube.com/watch?v=iNN-TvUJjYE) [comments] (https://www.reddit.com/r/programming/comments/1ncmp2z/lets_make_a_game_324_swapping_and_rearranging/)
https://www.reddit.com/r/programming/comments/1ncmp2z/lets_make_a_game_324_swapping_and_rearranging/
submitted by /u/apeloverage (https://www.reddit.com/user/apeloverage)
[link] (https://www.youtube.com/watch?v=iNN-TvUJjYE) [comments] (https://www.reddit.com/r/programming/comments/1ncmp2z/lets_make_a_game_324_swapping_and_rearranging/)
Isn’t Kubernetes enough?
https://www.reddit.com/r/programming/comments/1ncndp2/isnt_kubernetes_enough/
<!-- SC_OFF -->Many devs ask me: ‘Isn’t Kubernetes enough?’ I have done the research to and have put my thoughts below and thought of sharing here for everyone's benefit and Would love your thoughts! This 5-min visual explainer https://youtu.be/HklwECGXoHw showing why we still need API Gateways + Istio — using a fun airport analogy. Read More at:
https://faun.pub/how-api-gateways-and-istio-service-mesh-work-together-for-serving-microservices-hosted-on-a-k8s-8dad951d2d0c https://medium.com/faun/why-kubernetes-alone-isnt-enough-the-case-for-api-gateways-and-service-meshes-2ee856ce53a4 <!-- SC_ON --> submitted by /u/mmk4mmk_simplifies (https://www.reddit.com/user/mmk4mmk_simplifies)
[link] (https://youtu.be/HklwECGXoHw) [comments] (https://www.reddit.com/r/programming/comments/1ncndp2/isnt_kubernetes_enough/)
https://www.reddit.com/r/programming/comments/1ncndp2/isnt_kubernetes_enough/
<!-- SC_OFF -->Many devs ask me: ‘Isn’t Kubernetes enough?’ I have done the research to and have put my thoughts below and thought of sharing here for everyone's benefit and Would love your thoughts! This 5-min visual explainer https://youtu.be/HklwECGXoHw showing why we still need API Gateways + Istio — using a fun airport analogy. Read More at:
https://faun.pub/how-api-gateways-and-istio-service-mesh-work-together-for-serving-microservices-hosted-on-a-k8s-8dad951d2d0c https://medium.com/faun/why-kubernetes-alone-isnt-enough-the-case-for-api-gateways-and-service-meshes-2ee856ce53a4 <!-- SC_ON --> submitted by /u/mmk4mmk_simplifies (https://www.reddit.com/user/mmk4mmk_simplifies)
[link] (https://youtu.be/HklwECGXoHw) [comments] (https://www.reddit.com/r/programming/comments/1ncndp2/isnt_kubernetes_enough/)
Beyond the Code: Lessons That Make You Senior Software Engineer
https://www.reddit.com/r/programming/comments/1ncx9gw/beyond_the_code_lessons_that_make_you_senior/
submitted by /u/_zeynel (https://www.reddit.com/user/_zeynel)
[link] (https://medium.com/@ozdemir.zynl/beyond-the-code-lessons-that-make-you-senior-1ba44469aa42?source=friends_link&sk=b26d67b2b81fe10a800da07bd3415931) [comments] (https://www.reddit.com/r/programming/comments/1ncx9gw/beyond_the_code_lessons_that_make_you_senior/)
https://www.reddit.com/r/programming/comments/1ncx9gw/beyond_the_code_lessons_that_make_you_senior/
submitted by /u/_zeynel (https://www.reddit.com/user/_zeynel)
[link] (https://medium.com/@ozdemir.zynl/beyond-the-code-lessons-that-make-you-senior-1ba44469aa42?source=friends_link&sk=b26d67b2b81fe10a800da07bd3415931) [comments] (https://www.reddit.com/r/programming/comments/1ncx9gw/beyond_the_code_lessons_that_make_you_senior/)
The unreasonable effectiveness of modern sort algorithms
https://www.reddit.com/r/programming/comments/1nd7bby/the_unreasonable_effectiveness_of_modern_sort/
submitted by /u/Voultapher (https://www.reddit.com/user/Voultapher)
[link] (https://github.com/Voultapher/sort-research-rs/blob/main/writeup/unreasonable/text.md) [comments] (https://www.reddit.com/r/programming/comments/1nd7bby/the_unreasonable_effectiveness_of_modern_sort/)
https://www.reddit.com/r/programming/comments/1nd7bby/the_unreasonable_effectiveness_of_modern_sort/
submitted by /u/Voultapher (https://www.reddit.com/user/Voultapher)
[link] (https://github.com/Voultapher/sort-research-rs/blob/main/writeup/unreasonable/text.md) [comments] (https://www.reddit.com/r/programming/comments/1nd7bby/the_unreasonable_effectiveness_of_modern_sort/)
Git Notes: git's coolest, most unloved feature
https://www.reddit.com/r/programming/comments/1nd8nsi/git_notes_gits_coolest_most_unloved_feature/
<!-- SC_OFF -->Did YOU know...? And if you did, what do you use it for? <!-- SC_ON --> submitted by /u/esiy0676 (https://www.reddit.com/user/esiy0676)
[link] (https://tylercipriani.com/blog/2022/11/19/git-notes-gits-coolest-most-unloved-feature/) [comments] (https://www.reddit.com/r/programming/comments/1nd8nsi/git_notes_gits_coolest_most_unloved_feature/)
https://www.reddit.com/r/programming/comments/1nd8nsi/git_notes_gits_coolest_most_unloved_feature/
<!-- SC_OFF -->Did YOU know...? And if you did, what do you use it for? <!-- SC_ON --> submitted by /u/esiy0676 (https://www.reddit.com/user/esiy0676)
[link] (https://tylercipriani.com/blog/2022/11/19/git-notes-gits-coolest-most-unloved-feature/) [comments] (https://www.reddit.com/r/programming/comments/1nd8nsi/git_notes_gits_coolest_most_unloved_feature/)
JEP 401: Value classes and Objects (Preview) has just been submitted!
https://www.reddit.com/r/programming/comments/1nd8vob/jep_401_value_classes_and_objects_preview_has/
<!-- SC_OFF -->The JDK it is coming out in is still not known. However, this is a major milestone to have crossed. Plus, a new Early Access build of Valhalla (up-to-date with the current JDK, presumably) will go live soon too. Details in the linked post. And for those unfamiliar, u/brian_goetz (https://www.reddit.com/u/brian_goetz) is the person leading the Project Valhalla effort. So, comments by him in the linked post can help you separate between assumptions by your average user vs the official words from the Open JDK Team themselves. u/pron98 (https://www.reddit.com/u/pron98) is another OpenJDK Team member commenting in the linked post. <!-- SC_ON --> submitted by /u/davidalayachew (https://www.reddit.com/user/davidalayachew)
[link] (https://www.reddit.com/r/java/comments/1nckdwr/jep_401_value_classes_and_objects_preview_has/) [comments] (https://www.reddit.com/r/programming/comments/1nd8vob/jep_401_value_classes_and_objects_preview_has/)
https://www.reddit.com/r/programming/comments/1nd8vob/jep_401_value_classes_and_objects_preview_has/
<!-- SC_OFF -->The JDK it is coming out in is still not known. However, this is a major milestone to have crossed. Plus, a new Early Access build of Valhalla (up-to-date with the current JDK, presumably) will go live soon too. Details in the linked post. And for those unfamiliar, u/brian_goetz (https://www.reddit.com/u/brian_goetz) is the person leading the Project Valhalla effort. So, comments by him in the linked post can help you separate between assumptions by your average user vs the official words from the Open JDK Team themselves. u/pron98 (https://www.reddit.com/u/pron98) is another OpenJDK Team member commenting in the linked post. <!-- SC_ON --> submitted by /u/davidalayachew (https://www.reddit.com/user/davidalayachew)
[link] (https://www.reddit.com/r/java/comments/1nckdwr/jep_401_value_classes_and_objects_preview_has/) [comments] (https://www.reddit.com/r/programming/comments/1nd8vob/jep_401_value_classes_and_objects_preview_has/)
Comparing Virtual Threads vs Platform Threads in Spring Boot using JMeter Load Test
https://www.reddit.com/r/programming/comments/1nd95t0/comparing_virtual_threads_vs_platform_threads_in/
<!-- SC_OFF -->I have created one video lesson on Spring Boot Virtual Threads vs Platform Threads Performance with JMeter Load Testing . Link: https://youtu.be/LDgriPNWCjY Here I checked how Virtual Threads actually perform compared to Platform Threads in a real Spring Boot app in case of IO Based Operations .
For the setup , I ran two instances of the same application: First one - with Virtual Threads enabled Second one - Same application with the default Tomcat thread pool (Platform Threads) running on different port Then I used JMeter to hit both application with increasing load (starting around 200 users/sec, then pushing up to 1000+). I have also captured the side-by-side results ( like the graphs, throughput, response times) . Observations: With Platform Threads, once Tomcat hit its around 200 thread pool limit, response times started getting worse gradually With Virtual Threads, the application did scale pretty well - throughput was much higher and the average response timesremained low. The difference became more more distinct when I was running longer tests with heavier load. One caveat: this benefit really shows up with I/O-heavy requests (I even added a Thread.sleep to simulate work). As expected ,for CPU-heavy stuff, Virtual Threads don’t give the same advantage. <!-- SC_ON --> submitted by /u/mrayandutta (https://www.reddit.com/user/mrayandutta)
[link] (https://youtu.be/LDgriPNWCjY) [comments] (https://www.reddit.com/r/programming/comments/1nd95t0/comparing_virtual_threads_vs_platform_threads_in/)
https://www.reddit.com/r/programming/comments/1nd95t0/comparing_virtual_threads_vs_platform_threads_in/
<!-- SC_OFF -->I have created one video lesson on Spring Boot Virtual Threads vs Platform Threads Performance with JMeter Load Testing . Link: https://youtu.be/LDgriPNWCjY Here I checked how Virtual Threads actually perform compared to Platform Threads in a real Spring Boot app in case of IO Based Operations .
For the setup , I ran two instances of the same application: First one - with Virtual Threads enabled Second one - Same application with the default Tomcat thread pool (Platform Threads) running on different port Then I used JMeter to hit both application with increasing load (starting around 200 users/sec, then pushing up to 1000+). I have also captured the side-by-side results ( like the graphs, throughput, response times) . Observations: With Platform Threads, once Tomcat hit its around 200 thread pool limit, response times started getting worse gradually With Virtual Threads, the application did scale pretty well - throughput was much higher and the average response timesremained low. The difference became more more distinct when I was running longer tests with heavier load. One caveat: this benefit really shows up with I/O-heavy requests (I even added a Thread.sleep to simulate work). As expected ,for CPU-heavy stuff, Virtual Threads don’t give the same advantage. <!-- SC_ON --> submitted by /u/mrayandutta (https://www.reddit.com/user/mrayandutta)
[link] (https://youtu.be/LDgriPNWCjY) [comments] (https://www.reddit.com/r/programming/comments/1nd95t0/comparing_virtual_threads_vs_platform_threads_in/)
What Is a Modular Monolith And Why You Should Care? 🔥
https://www.reddit.com/r/programming/comments/1nda6tp/what_is_a_modular_monolith_and_why_you_should_care/
submitted by /u/pepincho (https://www.reddit.com/user/pepincho)
[link] (https://thetshaped.dev/p/what-is-a-modular-monolith-benefits-and-microservices-challenges) [comments] (https://www.reddit.com/r/programming/comments/1nda6tp/what_is_a_modular_monolith_and_why_you_should_care/)
https://www.reddit.com/r/programming/comments/1nda6tp/what_is_a_modular_monolith_and_why_you_should_care/
submitted by /u/pepincho (https://www.reddit.com/user/pepincho)
[link] (https://thetshaped.dev/p/what-is-a-modular-monolith-benefits-and-microservices-challenges) [comments] (https://www.reddit.com/r/programming/comments/1nda6tp/what_is_a_modular_monolith_and_why_you_should_care/)
We messed up our query builder for years. Here's the story of how we fixed it and the lessons we earned along the way.
https://www.reddit.com/r/programming/comments/1nddp6e/we_messed_up_our_query_builder_for_years_heres/
<!-- SC_OFF -->I want to share a story from our team at SigNoz. For a long time, our platform had a mildy-frustrating query builder. In the early days, we had separate interfaces for logs, traces, and metrics, which led to a fragmented experience. Our next attempt to unify it with a SQL-based UI was fundamentally flawed, especially for logs, as it couldn't handle complex boolean logic or parentheses. After 2 years of accumulating issues and user feedback, we realized we had to completely overhaul our approach. A key lesson for us was that no matter how technically "obvious" a feature seems, if it isn't discoverable, it's useless. We also learned not to make assumptions on behalf of users, as it only leads to a frustrating and surprising experience. This led to Query Builder V5, a full architectural rewrite that not only fixed the core issues but also allowed us to pay off a lot of UX debt. It was a humbling journey, but the result is a tool that allows for complex searching and is so intuitive that some users have voluntarily replaced their raw ClickHouse SQL queries with it :) yay <!-- SC_ON --> submitted by /u/ExcitingThought2794 (https://www.reddit.com/user/ExcitingThought2794)
[link] (http://signoz.io/blog/query-builder-v5/) [comments] (https://www.reddit.com/r/programming/comments/1nddp6e/we_messed_up_our_query_builder_for_years_heres/)
https://www.reddit.com/r/programming/comments/1nddp6e/we_messed_up_our_query_builder_for_years_heres/
<!-- SC_OFF -->I want to share a story from our team at SigNoz. For a long time, our platform had a mildy-frustrating query builder. In the early days, we had separate interfaces for logs, traces, and metrics, which led to a fragmented experience. Our next attempt to unify it with a SQL-based UI was fundamentally flawed, especially for logs, as it couldn't handle complex boolean logic or parentheses. After 2 years of accumulating issues and user feedback, we realized we had to completely overhaul our approach. A key lesson for us was that no matter how technically "obvious" a feature seems, if it isn't discoverable, it's useless. We also learned not to make assumptions on behalf of users, as it only leads to a frustrating and surprising experience. This led to Query Builder V5, a full architectural rewrite that not only fixed the core issues but also allowed us to pay off a lot of UX debt. It was a humbling journey, but the result is a tool that allows for complex searching and is so intuitive that some users have voluntarily replaced their raw ClickHouse SQL queries with it :) yay <!-- SC_ON --> submitted by /u/ExcitingThought2794 (https://www.reddit.com/user/ExcitingThought2794)
[link] (http://signoz.io/blog/query-builder-v5/) [comments] (https://www.reddit.com/r/programming/comments/1nddp6e/we_messed_up_our_query_builder_for_years_heres/)
Performance Improvements in .NET 10
https://www.reddit.com/r/programming/comments/1ndemk4/performance_improvements_in_net_10/
submitted by /u/ben_a_adams (https://www.reddit.com/user/ben_a_adams)
[link] (https://devblogs.microsoft.com/dotnet/performance-improvements-in-net-10/) [comments] (https://www.reddit.com/r/programming/comments/1ndemk4/performance_improvements_in_net_10/)
https://www.reddit.com/r/programming/comments/1ndemk4/performance_improvements_in_net_10/
submitted by /u/ben_a_adams (https://www.reddit.com/user/ben_a_adams)
[link] (https://devblogs.microsoft.com/dotnet/performance-improvements-in-net-10/) [comments] (https://www.reddit.com/r/programming/comments/1ndemk4/performance_improvements_in_net_10/)
C++ DataFrame new version (3.6.0) is out
https://www.reddit.com/r/programming/comments/1ndeyjx/c_dataframe_new_version_360_is_out/
<!-- SC_OFF -->C++ DataFrame (https://github.com/hosseinmoein/DataFrame) new version includes a bunch of new analytical and data-wrangling routines. But the big news is a significant rework of documentations both in terms of visuals and content. Your feedback is appreciated. <!-- SC_ON --> submitted by /u/hmoein (https://www.reddit.com/user/hmoein)
[link] (https://github.com/hosseinmoein/DataFrame) [comments] (https://www.reddit.com/r/programming/comments/1ndeyjx/c_dataframe_new_version_360_is_out/)
https://www.reddit.com/r/programming/comments/1ndeyjx/c_dataframe_new_version_360_is_out/
<!-- SC_OFF -->C++ DataFrame (https://github.com/hosseinmoein/DataFrame) new version includes a bunch of new analytical and data-wrangling routines. But the big news is a significant rework of documentations both in terms of visuals and content. Your feedback is appreciated. <!-- SC_ON --> submitted by /u/hmoein (https://www.reddit.com/user/hmoein)
[link] (https://github.com/hosseinmoein/DataFrame) [comments] (https://www.reddit.com/r/programming/comments/1ndeyjx/c_dataframe_new_version_360_is_out/)
AI Assistance for Software Teams: The State of Play • Birgitta Böckeler
https://www.reddit.com/r/programming/comments/1ndfkxu/ai_assistance_for_software_teams_the_state_of/
submitted by /u/goto-con (https://www.reddit.com/user/goto-con)
[link] (https://youtu.be/pzlqeX9nh1g) [comments] (https://www.reddit.com/r/programming/comments/1ndfkxu/ai_assistance_for_software_teams_the_state_of/)
https://www.reddit.com/r/programming/comments/1ndfkxu/ai_assistance_for_software_teams_the_state_of/
submitted by /u/goto-con (https://www.reddit.com/user/goto-con)
[link] (https://youtu.be/pzlqeX9nh1g) [comments] (https://www.reddit.com/r/programming/comments/1ndfkxu/ai_assistance_for_software_teams_the_state_of/)
Many Hard Leetcode Problems are Easy Constraint Problems
https://www.reddit.com/r/programming/comments/1ndjw6y/many_hard_leetcode_problems_are_easy_constraint/
submitted by /u/avinassh (https://www.reddit.com/user/avinassh)
[link] (https://buttondown.com/hillelwayne/archive/many-hard-leetcode-problems-are-easy-constraint/) [comments] (https://www.reddit.com/r/programming/comments/1ndjw6y/many_hard_leetcode_problems_are_easy_constraint/)
https://www.reddit.com/r/programming/comments/1ndjw6y/many_hard_leetcode_problems_are_easy_constraint/
submitted by /u/avinassh (https://www.reddit.com/user/avinassh)
[link] (https://buttondown.com/hillelwayne/archive/many-hard-leetcode-problems-are-easy-constraint/) [comments] (https://www.reddit.com/r/programming/comments/1ndjw6y/many_hard_leetcode_problems_are_easy_constraint/)
A Git like Database
https://www.reddit.com/r/programming/comments/1ndnjho/a_git_like_database/
<!-- SC_OFF -->I just came across a database called DoltDB , which presented itself as an Agent Database at the AI Agent Builder Summit. I looked into their documentation to understand what they mean by git-like. It essentially wraps the command line with a dolt CLI, so you can run commands like dolt diff, dolt merge, and dolt checkout. That’s an interesting concept. I’m still trying to figure out the real killer use case for this feature, but so far I haven’t found any clear documentation that explains it. docs $ dolt sql -q "insert into docs values (10,10)" Query OK, 1 row affected docs $ dolt diff diff --dolt a/docs b/docs --- a/docs @ 2lcu9e49ia08icjonmt3l0s7ph2cdb5s +++ b/docs @ vpl1rk08eccdfap89kkrff1pk3r8519j +-----+----+----+ | | pk | c1 | +-----+----+----+ | + | 10 | 10 | +-----+----+----+ docs $ dolt commit -am "Added a row on a branch" commit ijrrpul05o5j0kgsk1euds9pt5n5ddh0 Author: Tim Sehn Date: Mon Dec 06 15:06:39 -0800 2021 Added a row on a branch docs $ dolt checkout main Switched to branch 'main' docs $ dolt sql -q "select * from docs" +----+----+ | pk | c1 | +----+----+ | 1 | 1 | | 2 | 1 | +----+----+ docs $ dolt merge check-out-new-branch Updating f0ga78jrh4llc0uus8h2refopp6n870m..ijrrpul05o5j0kgsk1euds9pt5n5ddh0 Fast-forward docs $ dolt sql -q "select * from docs" +----+----+ | pk | c1 | +----+----+ | 1 | 1 | | 2 | 1 | | 10 | 10 | +----+----+ <!-- SC_ON --> submitted by /u/No_Lock7126 (https://www.reddit.com/user/No_Lock7126)
[link] (https://docs.dolthub.com/concepts/dolt/git/merge) [comments] (https://www.reddit.com/r/programming/comments/1ndnjho/a_git_like_database/)
https://www.reddit.com/r/programming/comments/1ndnjho/a_git_like_database/
<!-- SC_OFF -->I just came across a database called DoltDB , which presented itself as an Agent Database at the AI Agent Builder Summit. I looked into their documentation to understand what they mean by git-like. It essentially wraps the command line with a dolt CLI, so you can run commands like dolt diff, dolt merge, and dolt checkout. That’s an interesting concept. I’m still trying to figure out the real killer use case for this feature, but so far I haven’t found any clear documentation that explains it. docs $ dolt sql -q "insert into docs values (10,10)" Query OK, 1 row affected docs $ dolt diff diff --dolt a/docs b/docs --- a/docs @ 2lcu9e49ia08icjonmt3l0s7ph2cdb5s +++ b/docs @ vpl1rk08eccdfap89kkrff1pk3r8519j +-----+----+----+ | | pk | c1 | +-----+----+----+ | + | 10 | 10 | +-----+----+----+ docs $ dolt commit -am "Added a row on a branch" commit ijrrpul05o5j0kgsk1euds9pt5n5ddh0 Author: Tim Sehn Date: Mon Dec 06 15:06:39 -0800 2021 Added a row on a branch docs $ dolt checkout main Switched to branch 'main' docs $ dolt sql -q "select * from docs" +----+----+ | pk | c1 | +----+----+ | 1 | 1 | | 2 | 1 | +----+----+ docs $ dolt merge check-out-new-branch Updating f0ga78jrh4llc0uus8h2refopp6n870m..ijrrpul05o5j0kgsk1euds9pt5n5ddh0 Fast-forward docs $ dolt sql -q "select * from docs" +----+----+ | pk | c1 | +----+----+ | 1 | 1 | | 2 | 1 | | 10 | 10 | +----+----+ <!-- SC_ON --> submitted by /u/No_Lock7126 (https://www.reddit.com/user/No_Lock7126)
[link] (https://docs.dolthub.com/concepts/dolt/git/merge) [comments] (https://www.reddit.com/r/programming/comments/1ndnjho/a_git_like_database/)
A Rant About Multiprocessing
https://www.reddit.com/r/programming/comments/1ndpv4f/a_rant_about_multiprocessing/
<!-- SC_OFF -->The simplest system architecture is a single, monolithic process. This is the gold standard of all possible architectures. Why is it a thing worthy of reverence? Because it involves a single programming language and no interprocess communication, i.e. a messaging library. Software development doesn’t get more carefree than life within the safe confines of a single process. In the age of websites and cloud computing, instances of monolithic implementations are rare. Even an HTTP server presenting queries to a database server is technically two processes and a client library. There are other factors that push system design to multiprocessing, like functional separation, physical distribution and concurrency. So realistically, the typical architecture is a multiprocessing architecture. What is it about multiprocessing that bumps an architecture off the top of the list of places-I’d-rather-be? At the architectural level, the responsibility for starting and managing processes may be carried by a third-party such as Kubernetes - making it something of a non-issue. No, the real problems with multiprocessing start when the processes start communicating with each other. Consider that HTTP server paired with a database server. A single call to the HTTP server involves 5 type systems and 4 encoding/decoding operations. That’s kinda crazy. Every item of data - such as a floating-point value - exists at different times in 5 different forms, and very specific code fragments are involved in transformations between runtime variables (e.g. Javanoscript, Python and C++) and portable representations (e.g. JSON and protobuf). It’s popular to refer to architectures like these as layered, or as a software stack. If a Javanoscript application is at the top level of a stack and a database query language is at the lowest level, then all the type capability within the different type systems, must align, i.e. floats, datetimes and user-defined types (e.g. Person) must move up and down the stack without loss of integrity. Basic types such as booleans, integers and strings are fairly well supported (averting the engineers gaze from 32-bit vs 64-bit integers and floats), but support gets rocky with types often referred to as generics, e.g. vectors/lists, arrays and maps/dicts. The chances of a map of Person objects, indexed on a UUID, passing seamlessly from Javanoscript application to database client library are extremely low. Custom transformations invariably take up residence in your codebase. Due diligence on your stack involves detailed research, prototyping and unit tests. Edge cases can be nasty, such as when a 64-bit serial id is passed into a type system that only supports 32-bits. Datetime values are particularly fraught. Bugs associated with these cases can surface after months of fault-free operation. The presence of unit tests at all levels drags your development velocity down. Next up is the style of interaction that a client has with the system, e.g. with the HTTP server. The modern software stack has evolved to handle CRUD-like requests over a database model. This is a blocking, request-response interaction and it has been incredibly effective. It is less effective at delivering services that do not fit this mold. What if your Javanoscript client wants to open a window that displays a stream of monitoring device events? How does your system propagate operational errors up to the appropriate administrator? Together, HTTP and Javanoscript now provide a range of options in this space, such as the Push API, Server-side Events, HTTP/2 Server Push and Websockets, with possibly the latter providing the cleanest basis for universal two-way, asynchronous messaging. Sadly, that still leaves a lot of work to do - what encoding is to be used, what type system is available (e.g. the JSON encoding has no datetime) and how are multiple
https://www.reddit.com/r/programming/comments/1ndpv4f/a_rant_about_multiprocessing/
<!-- SC_OFF -->The simplest system architecture is a single, monolithic process. This is the gold standard of all possible architectures. Why is it a thing worthy of reverence? Because it involves a single programming language and no interprocess communication, i.e. a messaging library. Software development doesn’t get more carefree than life within the safe confines of a single process. In the age of websites and cloud computing, instances of monolithic implementations are rare. Even an HTTP server presenting queries to a database server is technically two processes and a client library. There are other factors that push system design to multiprocessing, like functional separation, physical distribution and concurrency. So realistically, the typical architecture is a multiprocessing architecture. What is it about multiprocessing that bumps an architecture off the top of the list of places-I’d-rather-be? At the architectural level, the responsibility for starting and managing processes may be carried by a third-party such as Kubernetes - making it something of a non-issue. No, the real problems with multiprocessing start when the processes start communicating with each other. Consider that HTTP server paired with a database server. A single call to the HTTP server involves 5 type systems and 4 encoding/decoding operations. That’s kinda crazy. Every item of data - such as a floating-point value - exists at different times in 5 different forms, and very specific code fragments are involved in transformations between runtime variables (e.g. Javanoscript, Python and C++) and portable representations (e.g. JSON and protobuf). It’s popular to refer to architectures like these as layered, or as a software stack. If a Javanoscript application is at the top level of a stack and a database query language is at the lowest level, then all the type capability within the different type systems, must align, i.e. floats, datetimes and user-defined types (e.g. Person) must move up and down the stack without loss of integrity. Basic types such as booleans, integers and strings are fairly well supported (averting the engineers gaze from 32-bit vs 64-bit integers and floats), but support gets rocky with types often referred to as generics, e.g. vectors/lists, arrays and maps/dicts. The chances of a map of Person objects, indexed on a UUID, passing seamlessly from Javanoscript application to database client library are extremely low. Custom transformations invariably take up residence in your codebase. Due diligence on your stack involves detailed research, prototyping and unit tests. Edge cases can be nasty, such as when a 64-bit serial id is passed into a type system that only supports 32-bits. Datetime values are particularly fraught. Bugs associated with these cases can surface after months of fault-free operation. The presence of unit tests at all levels drags your development velocity down. Next up is the style of interaction that a client has with the system, e.g. with the HTTP server. The modern software stack has evolved to handle CRUD-like requests over a database model. This is a blocking, request-response interaction and it has been incredibly effective. It is less effective at delivering services that do not fit this mold. What if your Javanoscript client wants to open a window that displays a stream of monitoring device events? How does your system propagate operational errors up to the appropriate administrator? Together, HTTP and Javanoscript now provide a range of options in this space, such as the Push API, Server-side Events, HTTP/2 Server Push and Websockets, with possibly the latter providing the cleanest basis for universal two-way, asynchronous messaging. Sadly, that still leaves a lot of work to do - what encoding is to be used, what type system is available (e.g. the JSON encoding has no datetime) and how are multiple
conversations multiplexed over the single websocket connection? Who or what are the entities engaged in these conversations, because there must be someone or something - right? The ability to multiplex multiple conversations influences the internal architecture of your processes. Without matching sophistication in the communicating parties, a multi-lane freeway is a high-volume transport to the same old choke points. Does anyone know a good software entity framework? There are further demands on the capabilities of the messaging facility. Processes such as the HTTP server are a point of access for external processes. Optimal support for a complex, multi-view client would have multiple entry points available providing direct access to the relevant processes. Concerns about security may force the merging of the multiple points into a single point. That point of access would need to make the necessary internal connections and provide the ongoing routing of message streams to their ultimate destinations. Lastly, the adoption of multiple programming languages not only requires the matching linguistic skills but also breaks the homogeneous nature of your system. Consider a simple bubble diagram where each bubble is a process and each arrow represents a connection from one process to the other. The ability to add arrows anywhere assumes the availability of the same messaging system in every process, and therefore, every language. Multiprocessing with a multiplexing communications framework can deliver the systems environment that we might subconsciously lust after. But where is that framework and what would it even look like? Well, the link in the post takes you to the docs for my best attempt. <!-- SC_ON --> submitted by /u/Public_Being3163 (https://www.reddit.com/user/Public_Being3163)
[link] (https://kipjak-manual.s3.ap-southeast-2.amazonaws.com/1.0.0/index.html) [comments] (https://www.reddit.com/r/programming/comments/1ndpv4f/a_rant_about_multiprocessing/)
[link] (https://kipjak-manual.s3.ap-southeast-2.amazonaws.com/1.0.0/index.html) [comments] (https://www.reddit.com/r/programming/comments/1ndpv4f/a_rant_about_multiprocessing/)
Eclipse 4.37 Released
https://www.reddit.com/r/programming/comments/1ne4hb2/eclipse_437_released/
submitted by /u/BlueGoliath (https://www.reddit.com/user/BlueGoliath)
[link] (https://eclipse.dev/eclipse/markdown/?f=news/4.37/index.md) [comments] (https://www.reddit.com/r/programming/comments/1ne4hb2/eclipse_437_released/)
https://www.reddit.com/r/programming/comments/1ne4hb2/eclipse_437_released/
submitted by /u/BlueGoliath (https://www.reddit.com/user/BlueGoliath)
[link] (https://eclipse.dev/eclipse/markdown/?f=news/4.37/index.md) [comments] (https://www.reddit.com/r/programming/comments/1ne4hb2/eclipse_437_released/)
Hashed sorting is typically faster than hash tables1
https://www.reddit.com/r/programming/comments/1ne6jtd/hashed_sorting_is_typically_faster_than_hash/
submitted by /u/JadeLuxe (https://www.reddit.com/user/JadeLuxe)
[link] (https://reiner.org/hashed-sorting) [comments] (https://www.reddit.com/r/programming/comments/1ne6jtd/hashed_sorting_is_typically_faster_than_hash/)
https://www.reddit.com/r/programming/comments/1ne6jtd/hashed_sorting_is_typically_faster_than_hash/
submitted by /u/JadeLuxe (https://www.reddit.com/user/JadeLuxe)
[link] (https://reiner.org/hashed-sorting) [comments] (https://www.reddit.com/r/programming/comments/1ne6jtd/hashed_sorting_is_typically_faster_than_hash/)
Rust compiler performance survey 2025 results
https://www.reddit.com/r/programming/comments/1neepqt/rust_compiler_performance_survey_2025_results/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://blog.rust-lang.org/2025/09/10/rust-compiler-performance-survey-2025-results/) [comments] (https://www.reddit.com/r/programming/comments/1neepqt/rust_compiler_performance_survey_2025_results/)
https://www.reddit.com/r/programming/comments/1neepqt/rust_compiler_performance_survey_2025_results/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://blog.rust-lang.org/2025/09/10/rust-compiler-performance-survey-2025-results/) [comments] (https://www.reddit.com/r/programming/comments/1neepqt/rust_compiler_performance_survey_2025_results/)