crates.io phishing campaign | Rust Blog
https://www.reddit.com/r/programming/comments/1nfsfml/cratesio_phishing_campaign_rust_blog/
submitted by /u/mareek (https://www.reddit.com/user/mareek)
[link] (https://blog.rust-lang.org/2025/09/12/crates-io-phishing-campaign/) [comments] (https://www.reddit.com/r/programming/comments/1nfsfml/cratesio_phishing_campaign_rust_blog/)
https://www.reddit.com/r/programming/comments/1nfsfml/cratesio_phishing_campaign_rust_blog/
submitted by /u/mareek (https://www.reddit.com/user/mareek)
[link] (https://blog.rust-lang.org/2025/09/12/crates-io-phishing-campaign/) [comments] (https://www.reddit.com/r/programming/comments/1nfsfml/cratesio_phishing_campaign_rust_blog/)
js1024 Revisited in 2025
https://www.reddit.com/r/programming/comments/1nfum5p/js1024_revisited_in_2025/
submitted by /u/Active-Fuel-49 (https://www.reddit.com/user/Active-Fuel-49)
[link] (https://www.i-programmer.info/news/167-javanoscript/18312-js1024-revisited-in-2025.html) [comments] (https://www.reddit.com/r/programming/comments/1nfum5p/js1024_revisited_in_2025/)
https://www.reddit.com/r/programming/comments/1nfum5p/js1024_revisited_in_2025/
submitted by /u/Active-Fuel-49 (https://www.reddit.com/user/Active-Fuel-49)
[link] (https://www.i-programmer.info/news/167-javanoscript/18312-js1024-revisited-in-2025.html) [comments] (https://www.reddit.com/r/programming/comments/1nfum5p/js1024_revisited_in_2025/)
Elon Musk’s xAI has laid off hundreds of employees responsible for training its Grok chatbot.
https://www.reddit.com/r/programming/comments/1nfuxb8/elon_musks_xai_has_laid_off_hundreds_of_employees/
submitted by /u/Slight_Republic_4242 (https://www.reddit.com/user/Slight_Republic_4242)
[link] (https://www.businessinsider.com/elon-musk-xai-layoffs-data-annotators-2025-9) [comments] (https://www.reddit.com/r/programming/comments/1nfuxb8/elon_musks_xai_has_laid_off_hundreds_of_employees/)
https://www.reddit.com/r/programming/comments/1nfuxb8/elon_musks_xai_has_laid_off_hundreds_of_employees/
submitted by /u/Slight_Republic_4242 (https://www.reddit.com/user/Slight_Republic_4242)
[link] (https://www.businessinsider.com/elon-musk-xai-layoffs-data-annotators-2025-9) [comments] (https://www.reddit.com/r/programming/comments/1nfuxb8/elon_musks_xai_has_laid_off_hundreds_of_employees/)
Announcing iceoryx2 v0.7: Fast and Robust Inter-Process Communication (IPC) Library for Rust, Python, C++, and C
https://www.reddit.com/r/programming/comments/1nfvdvk/announcing_iceoryx2_v07_fast_and_robust/
submitted by /u/elfenpiff (https://www.reddit.com/user/elfenpiff)
[link] (https://ekxide.io/blog/iceoryx2-0-7-release/) [comments] (https://www.reddit.com/r/programming/comments/1nfvdvk/announcing_iceoryx2_v07_fast_and_robust/)
https://www.reddit.com/r/programming/comments/1nfvdvk/announcing_iceoryx2_v07_fast_and_robust/
submitted by /u/elfenpiff (https://www.reddit.com/user/elfenpiff)
[link] (https://ekxide.io/blog/iceoryx2-0-7-release/) [comments] (https://www.reddit.com/r/programming/comments/1nfvdvk/announcing_iceoryx2_v07_fast_and_robust/)
On Staying Sane as a Developer
https://www.reddit.com/r/programming/comments/1nfy4xg/on_staying_sane_as_a_developer/
submitted by /u/ablx0000 (https://www.reddit.com/user/ablx0000)
[link] (https://open.substack.com/pub/verbosemode/p/on-staying-sane-as-a-developer?r=31x3tz&utm_campaign=post&utm_medium=web) [comments] (https://www.reddit.com/r/programming/comments/1nfy4xg/on_staying_sane_as_a_developer/)
https://www.reddit.com/r/programming/comments/1nfy4xg/on_staying_sane_as_a_developer/
submitted by /u/ablx0000 (https://www.reddit.com/user/ablx0000)
[link] (https://open.substack.com/pub/verbosemode/p/on-staying-sane-as-a-developer?r=31x3tz&utm_campaign=post&utm_medium=web) [comments] (https://www.reddit.com/r/programming/comments/1nfy4xg/on_staying_sane_as_a_developer/)
Git’s hidden simplicity: what’s behind every commit
https://www.reddit.com/r/programming/comments/1nfzfuo/gits_hidden_simplicity_whats_behind_every_commit/
<!-- SC_OFF -->It’s time to learn some Git internals. <!-- SC_ON --> submitted by /u/Low-Strawberry7579 (https://www.reddit.com/user/Low-Strawberry7579)
[link] (https://open.substack.com/pub/allvpv/p/gits-hidden-simplicity?r=6ehrq6&utm_medium=ios) [comments] (https://www.reddit.com/r/programming/comments/1nfzfuo/gits_hidden_simplicity_whats_behind_every_commit/)
https://www.reddit.com/r/programming/comments/1nfzfuo/gits_hidden_simplicity_whats_behind_every_commit/
<!-- SC_OFF -->It’s time to learn some Git internals. <!-- SC_ON --> submitted by /u/Low-Strawberry7579 (https://www.reddit.com/user/Low-Strawberry7579)
[link] (https://open.substack.com/pub/allvpv/p/gits-hidden-simplicity?r=6ehrq6&utm_medium=ios) [comments] (https://www.reddit.com/r/programming/comments/1nfzfuo/gits_hidden_simplicity_whats_behind_every_commit/)
Setsum - order agnostic, additive, subtractive checksum
https://www.reddit.com/r/programming/comments/1nfzgho/setsum_order_agnostic_additive_subtractive/
submitted by /u/avinassh (https://www.reddit.com/user/avinassh)
[link] (https://avi.im/blag/2025/setsum/) [comments] (https://www.reddit.com/r/programming/comments/1nfzgho/setsum_order_agnostic_additive_subtractive/)
https://www.reddit.com/r/programming/comments/1nfzgho/setsum_order_agnostic_additive_subtractive/
submitted by /u/avinassh (https://www.reddit.com/user/avinassh)
[link] (https://avi.im/blag/2025/setsum/) [comments] (https://www.reddit.com/r/programming/comments/1nfzgho/setsum_order_agnostic_additive_subtractive/)
Be An Agnostic Programmer
https://www.reddit.com/r/programming/comments/1ng1yn4/be_an_agnostic_programmer/
<!-- SC_OFF -->Hey guys! Back with another article on a topic that's been stewing in the back of my mind for a while. Please enjoy! <!-- SC_ON --> submitted by /u/The_Axolot (https://www.reddit.com/user/The_Axolot)
[link] (https://theaxolot.wordpress.com/2025/09/10/be-an-agnostic-programmer/) [comments] (https://www.reddit.com/r/programming/comments/1ng1yn4/be_an_agnostic_programmer/)
https://www.reddit.com/r/programming/comments/1ng1yn4/be_an_agnostic_programmer/
<!-- SC_OFF -->Hey guys! Back with another article on a topic that's been stewing in the back of my mind for a while. Please enjoy! <!-- SC_ON --> submitted by /u/The_Axolot (https://www.reddit.com/user/The_Axolot)
[link] (https://theaxolot.wordpress.com/2025/09/10/be-an-agnostic-programmer/) [comments] (https://www.reddit.com/r/programming/comments/1ng1yn4/be_an_agnostic_programmer/)
Build 2D Software Rasterizer for graphic library
https://www.reddit.com/r/programming/comments/1ng2umk/build_2d_software_rasterizer_for_graphic_library/
submitted by /u/Important_Earth6615 (https://www.reddit.com/user/Important_Earth6615)
[link] (https://alielmorsy.github.io/projects-2/2d-software-rasterizer/) [comments] (https://www.reddit.com/r/programming/comments/1ng2umk/build_2d_software_rasterizer_for_graphic_library/)
https://www.reddit.com/r/programming/comments/1ng2umk/build_2d_software_rasterizer_for_graphic_library/
submitted by /u/Important_Earth6615 (https://www.reddit.com/user/Important_Earth6615)
[link] (https://alielmorsy.github.io/projects-2/2d-software-rasterizer/) [comments] (https://www.reddit.com/r/programming/comments/1ng2umk/build_2d_software_rasterizer_for_graphic_library/)
Would keeping your hands free with a foot mouse help programmers?
https://www.reddit.com/r/programming/comments/1ng3v5w/would_keeping_your_hands_free_with_a_foot_mouse/
submitted by /u/No_Suit_5724 (https://www.reddit.com/user/No_Suit_5724)
[link] (https://youtube.com/@navifutxstep?feature=shared) [comments] (https://www.reddit.com/r/programming/comments/1ng3v5w/would_keeping_your_hands_free_with_a_foot_mouse/)
https://www.reddit.com/r/programming/comments/1ng3v5w/would_keeping_your_hands_free_with_a_foot_mouse/
submitted by /u/No_Suit_5724 (https://www.reddit.com/user/No_Suit_5724)
[link] (https://youtube.com/@navifutxstep?feature=shared) [comments] (https://www.reddit.com/r/programming/comments/1ng3v5w/would_keeping_your_hands_free_with_a_foot_mouse/)
The DRAGON Framework, aka TOGAF light: Simple IT Decision Framework | Lukas Niessen
https://www.reddit.com/r/programming/comments/1ng6mwn/the_dragon_framework_aka_togaf_light_simple_it/
submitted by /u/trolleid (https://www.reddit.com/user/trolleid)
[link] (https://lukasniessen.com/blog/122-simple-it-decision-framework/) [comments] (https://www.reddit.com/r/programming/comments/1ng6mwn/the_dragon_framework_aka_togaf_light_simple_it/)
https://www.reddit.com/r/programming/comments/1ng6mwn/the_dragon_framework_aka_togaf_light_simple_it/
submitted by /u/trolleid (https://www.reddit.com/user/trolleid)
[link] (https://lukasniessen.com/blog/122-simple-it-decision-framework/) [comments] (https://www.reddit.com/r/programming/comments/1ng6mwn/the_dragon_framework_aka_togaf_light_simple_it/)
Feedbacks & Testing for Platform - Holydreamy
https://www.reddit.com/r/programming/comments/1ng6qbb/feedbacks_testing_for_platform_holydreamy/
<!-- SC_OFF -->Hey everyone 👋 I’m currently working on my app Holydreamy, and before launching it officially on the Google Play Store, I’d love to have contributions from the community. Here’s how you can help: 🔗 [Join as a tester and download the app] https://play.google.com/apps/internaltest/4700629582225365158 📝 Try it out, explore the features, and let me know what you think! 🐞 If you find any bugs or issues, your feedback will be super valuable in making Holydreamy better. I’d be incredibly thankful for your support, suggestions, and bug reports. Together, we can shape Holydreamy into something truly amazing! If this post doesn't belongs to this community, i would be thankful if you told me where i could post it. <!-- SC_ON --> submitted by /u/recallerman (https://www.reddit.com/user/recallerman)
[link] (https://dreamy.peaceonsol.com/) [comments] (https://www.reddit.com/r/programming/comments/1ng6qbb/feedbacks_testing_for_platform_holydreamy/)
https://www.reddit.com/r/programming/comments/1ng6qbb/feedbacks_testing_for_platform_holydreamy/
<!-- SC_OFF -->Hey everyone 👋 I’m currently working on my app Holydreamy, and before launching it officially on the Google Play Store, I’d love to have contributions from the community. Here’s how you can help: 🔗 [Join as a tester and download the app] https://play.google.com/apps/internaltest/4700629582225365158 📝 Try it out, explore the features, and let me know what you think! 🐞 If you find any bugs or issues, your feedback will be super valuable in making Holydreamy better. I’d be incredibly thankful for your support, suggestions, and bug reports. Together, we can shape Holydreamy into something truly amazing! If this post doesn't belongs to this community, i would be thankful if you told me where i could post it. <!-- SC_ON --> submitted by /u/recallerman (https://www.reddit.com/user/recallerman)
[link] (https://dreamy.peaceonsol.com/) [comments] (https://www.reddit.com/r/programming/comments/1ng6qbb/feedbacks_testing_for_platform_holydreamy/)
Free chrome extension for converting SEC filings to PDFs
https://www.reddit.com/r/programming/comments/1ng74cd/free_chrome_extension_for_converting_sec_filings/
<!-- SC_OFF -->Hi! I just launched a free chrome extension (https://chromewebstore.google.com/detail/sec-filing-pdf-generator/bloidlekfcleajmmblmafdliioeehecl?authuser=3) that helps generate PDFs from SEC filing URLs. Was hoping to get some feedback on it! Thanks a lot! <!-- SC_ON --> submitted by /u/Better-Tradition1093 (https://www.reddit.com/user/Better-Tradition1093)
[link] (https://chromewebstore.google.com/detail/sec-filing-pdf-generator/bloidlekfcleajmmblmafdliioeehecl?authuser=3) [comments] (https://www.reddit.com/r/programming/comments/1ng74cd/free_chrome_extension_for_converting_sec_filings/)
https://www.reddit.com/r/programming/comments/1ng74cd/free_chrome_extension_for_converting_sec_filings/
<!-- SC_OFF -->Hi! I just launched a free chrome extension (https://chromewebstore.google.com/detail/sec-filing-pdf-generator/bloidlekfcleajmmblmafdliioeehecl?authuser=3) that helps generate PDFs from SEC filing URLs. Was hoping to get some feedback on it! Thanks a lot! <!-- SC_ON --> submitted by /u/Better-Tradition1093 (https://www.reddit.com/user/Better-Tradition1093)
[link] (https://chromewebstore.google.com/detail/sec-filing-pdf-generator/bloidlekfcleajmmblmafdliioeehecl?authuser=3) [comments] (https://www.reddit.com/r/programming/comments/1ng74cd/free_chrome_extension_for_converting_sec_filings/)
TargetJS: a UI framework where time is declarative (no async/await chains)
https://www.reddit.com/r/programming/comments/1ng8xio/targetjs_a_ui_framework_where_time_is_declarative/
<!-- SC_OFF -->I’ve been building a small JavaScript UI framework called TargetJS and would love feedback from this community. It takes a fundamentally different approach to front-end development, especially when dealing with asynchronous operations and complex UI flows. The core idea is that it unifies everything—UI, state, APIs, and animations—into a single concept called "targets." Instead of using async/await or chaining promises and callbacks, the execution flow is determined by two simple postfixes: $ (Reactive): Runs every time the preceding target updates. $$ (Deferred): Runs only after the preceding targets have fully completed all their operations. This means you can write a complex sequence of events, like "add button -> animate it -> when done add another element -> animate that -> when done fetch API -> show user data" and the code reads almost like a step-by-step list, top-to-bottom. The framework handles all the asynchronous "plumbing" for you. I think it works really well for applications with a lot of animation or real-time data fetching such as games, interactive dashboards, or rich single-page apps, where managing state and async operations can become a headache. What do you think of this approach? Have you seen anything similar? Links: GitHub: https://github.com/livetrails/targetjs Website: https://targetjs.io (https://targetjs.io/) <!-- SC_ON --> submitted by /u/Various-Beautiful417 (https://www.reddit.com/user/Various-Beautiful417)
[link] (https://github.com/livetrails/targetjs) [comments] (https://www.reddit.com/r/programming/comments/1ng8xio/targetjs_a_ui_framework_where_time_is_declarative/)
https://www.reddit.com/r/programming/comments/1ng8xio/targetjs_a_ui_framework_where_time_is_declarative/
<!-- SC_OFF -->I’ve been building a small JavaScript UI framework called TargetJS and would love feedback from this community. It takes a fundamentally different approach to front-end development, especially when dealing with asynchronous operations and complex UI flows. The core idea is that it unifies everything—UI, state, APIs, and animations—into a single concept called "targets." Instead of using async/await or chaining promises and callbacks, the execution flow is determined by two simple postfixes: $ (Reactive): Runs every time the preceding target updates. $$ (Deferred): Runs only after the preceding targets have fully completed all their operations. This means you can write a complex sequence of events, like "add button -> animate it -> when done add another element -> animate that -> when done fetch API -> show user data" and the code reads almost like a step-by-step list, top-to-bottom. The framework handles all the asynchronous "plumbing" for you. I think it works really well for applications with a lot of animation or real-time data fetching such as games, interactive dashboards, or rich single-page apps, where managing state and async operations can become a headache. What do you think of this approach? Have you seen anything similar? Links: GitHub: https://github.com/livetrails/targetjs Website: https://targetjs.io (https://targetjs.io/) <!-- SC_ON --> submitted by /u/Various-Beautiful417 (https://www.reddit.com/user/Various-Beautiful417)
[link] (https://github.com/livetrails/targetjs) [comments] (https://www.reddit.com/r/programming/comments/1ng8xio/targetjs_a_ui_framework_where_time_is_declarative/)
How Software Engineers Make Productive Decisions (without slowing the team down)
https://www.reddit.com/r/programming/comments/1nglax1/how_software_engineers_make_productive_decisions/
submitted by /u/strategizeyourcareer (https://www.reddit.com/user/strategizeyourcareer)
[link] (https://strategizeyourcareer.com/p/how-software-engineers-make-productive-decisions) [comments] (https://www.reddit.com/r/programming/comments/1nglax1/how_software_engineers_make_productive_decisions/)
https://www.reddit.com/r/programming/comments/1nglax1/how_software_engineers_make_productive_decisions/
submitted by /u/strategizeyourcareer (https://www.reddit.com/user/strategizeyourcareer)
[link] (https://strategizeyourcareer.com/p/how-software-engineers-make-productive-decisions) [comments] (https://www.reddit.com/r/programming/comments/1nglax1/how_software_engineers_make_productive_decisions/)
I have tried AI-assisted reviews, let's look at the numbers.
https://www.reddit.com/r/programming/comments/1ngm7fa/i_have_tried_aiassisted_reviews_lets_look_at_the/
<!-- SC_OFF -->Hello there! I am the lead dev of the opensource project Lychee, and due to us being a small team, I had to switch from proper 4-eye to 2-eyes + a pair of ai-eyes. I have been using this tool for a month, so I figured it would be interesting to do an "evaluation" of its comments on my pull requests. TL;DR distribution of the AI comments: 15% were useless 13% were wrong assumptions 21% were nitpicking, 13% were thoughtful, 35% were quality improvements and 3% of those were security/critical findings. PS: post was written in the good old fashioned way. No GPT crap here. ;p Edited with the correct percentages. Thanks to u/asphais (https://www.reddit.com/u/asphais) for double checking my Maths... <!-- SC_ON --> submitted by /u/ildyria (https://www.reddit.com/user/ildyria)
[link] (https://lycheeorg.dev/2025-09-13-code-rabbit/) [comments] (https://www.reddit.com/r/programming/comments/1ngm7fa/i_have_tried_aiassisted_reviews_lets_look_at_the/)
https://www.reddit.com/r/programming/comments/1ngm7fa/i_have_tried_aiassisted_reviews_lets_look_at_the/
<!-- SC_OFF -->Hello there! I am the lead dev of the opensource project Lychee, and due to us being a small team, I had to switch from proper 4-eye to 2-eyes + a pair of ai-eyes. I have been using this tool for a month, so I figured it would be interesting to do an "evaluation" of its comments on my pull requests. TL;DR distribution of the AI comments: 15% were useless 13% were wrong assumptions 21% were nitpicking, 13% were thoughtful, 35% were quality improvements and 3% of those were security/critical findings. PS: post was written in the good old fashioned way. No GPT crap here. ;p Edited with the correct percentages. Thanks to u/asphais (https://www.reddit.com/u/asphais) for double checking my Maths... <!-- SC_ON --> submitted by /u/ildyria (https://www.reddit.com/user/ildyria)
[link] (https://lycheeorg.dev/2025-09-13-code-rabbit/) [comments] (https://www.reddit.com/r/programming/comments/1ngm7fa/i_have_tried_aiassisted_reviews_lets_look_at_the/)
🔐 Backup your dotfiles to GitHub Releases (with optional GPG encryption)
https://www.reddit.com/r/programming/comments/1ngn2ud/backup_your_dotfiles_to_github_releases_with/
<!-- SC_OFF -->Hey everyone, I’ve built a small open-source project that I personally use to keep my dotfiles safe, versioned, and easily restorable. Instead of syncing them to some cloud service, this noscript pushes encrypted backups to GitHub Releases. 👉 Repo: https://github.com/Xzar-x/github-release-dotfiles-backup Key features: 📦 Backup & restore with one command (backup-cloud.sh / restore-cloud.sh) 🔑 Optional GPG encryption (end-to-end secure backup) ⚡ Configurable via a simple config file (backup_restore.config) 🛡️ Validations: checks dependencies, free disk space, repo privacy, etc. 🧪 Dry-run mode so you can safely test before running for real I’m curious what you all think: Would you trust GitHub Releases as a “backup cloud”? What would you improve or add (e.g. retention policy, hash integrity check, automation)? Any feedback or ideas would be super valuable 🙏 Thanks! <!-- SC_ON --> submitted by /u/Xzar-x (https://www.reddit.com/user/Xzar-x)
[link] (https://github.com/Xzar-x/github-release-dotfiles-backup) [comments] (https://www.reddit.com/r/programming/comments/1ngn2ud/backup_your_dotfiles_to_github_releases_with/)
https://www.reddit.com/r/programming/comments/1ngn2ud/backup_your_dotfiles_to_github_releases_with/
<!-- SC_OFF -->Hey everyone, I’ve built a small open-source project that I personally use to keep my dotfiles safe, versioned, and easily restorable. Instead of syncing them to some cloud service, this noscript pushes encrypted backups to GitHub Releases. 👉 Repo: https://github.com/Xzar-x/github-release-dotfiles-backup Key features: 📦 Backup & restore with one command (backup-cloud.sh / restore-cloud.sh) 🔑 Optional GPG encryption (end-to-end secure backup) ⚡ Configurable via a simple config file (backup_restore.config) 🛡️ Validations: checks dependencies, free disk space, repo privacy, etc. 🧪 Dry-run mode so you can safely test before running for real I’m curious what you all think: Would you trust GitHub Releases as a “backup cloud”? What would you improve or add (e.g. retention policy, hash integrity check, automation)? Any feedback or ideas would be super valuable 🙏 Thanks! <!-- SC_ON --> submitted by /u/Xzar-x (https://www.reddit.com/user/Xzar-x)
[link] (https://github.com/Xzar-x/github-release-dotfiles-backup) [comments] (https://www.reddit.com/r/programming/comments/1ngn2ud/backup_your_dotfiles_to_github_releases_with/)
From all truths to (ir)relevancies
https://www.reddit.com/r/programming/comments/1ngphf3/from_all_truths_to_irrelevancies/
<!-- SC_OFF -->Just posted a follow-up to my blog post on truth tables! This time, I'm introducing the "Standardized Truth Table" (STT) format. Using the STT, I've developed an algorithmic method to find and remove "irrelevant" variables from a boolean expression. The core idea is simple: if changing an input's value doesn't change the output, that input is irrelevant. This is super useful for simplifying logic and making digital circuits more efficient. <!-- SC_ON --> submitted by /u/Paddy3118 (https://www.reddit.com/user/Paddy3118)
[link] (https://paddy3118.blogspot.com/2025/09/from-all-truths-to-irrelevancies.html) [comments] (https://www.reddit.com/r/programming/comments/1ngphf3/from_all_truths_to_irrelevancies/)
https://www.reddit.com/r/programming/comments/1ngphf3/from_all_truths_to_irrelevancies/
<!-- SC_OFF -->Just posted a follow-up to my blog post on truth tables! This time, I'm introducing the "Standardized Truth Table" (STT) format. Using the STT, I've developed an algorithmic method to find and remove "irrelevant" variables from a boolean expression. The core idea is simple: if changing an input's value doesn't change the output, that input is irrelevant. This is super useful for simplifying logic and making digital circuits more efficient. <!-- SC_ON --> submitted by /u/Paddy3118 (https://www.reddit.com/user/Paddy3118)
[link] (https://paddy3118.blogspot.com/2025/09/from-all-truths-to-irrelevancies.html) [comments] (https://www.reddit.com/r/programming/comments/1ngphf3/from_all_truths_to_irrelevancies/)
BEEP-8: Running C/C++20 on an emulated ARM v4a CPU inside the browser
https://www.reddit.com/r/programming/comments/1ngrh2h/beep8_running_cc20_on_an_emulated_arm_v4a_cpu/
<!-- SC_OFF -->Hi all, I’ve been experimenting with BEEP-8, a Fantasy Console that runs entirely in the browser — but instead of a toy VM, it executes real ARM v4a machine code. Workflow: Write programs in C or C++20 Compile with gnuarm gcc into a ROM image Run it on a cycle-accurate ARM v4a emulator (4 MHz, 1 MB RAM / 1 MB ROM) implemented in JavaScript/TypeScript System highlights: Lightweight RTOS kernel with threads, timers, semaphores, IRQs (via SVC dispatch) Graphics PPU in WebGL (sprites, BG layers, single-color polygons) Sound APU emulating a Namco C30–style chip in JS Fixed 60 fps, works on PC and smartphones via browser 👉 Live demo: https://beep8.org (https://beep8.org/) 👉 Source (free & open): https://github.com/beep8/beep8-sdk I thought it was neat to see modern C++ features compiled into ARM binaries running directly inside a browser environment.
Curious to hear what this community thinks — quirky playground, useful educational tool, or something else? <!-- SC_ON --> submitted by /u/Positive_Board_8086 (https://www.reddit.com/user/Positive_Board_8086)
[link] (https://github.com/beep8/beep8-sdk) [comments] (https://www.reddit.com/r/programming/comments/1ngrh2h/beep8_running_cc20_on_an_emulated_arm_v4a_cpu/)
https://www.reddit.com/r/programming/comments/1ngrh2h/beep8_running_cc20_on_an_emulated_arm_v4a_cpu/
<!-- SC_OFF -->Hi all, I’ve been experimenting with BEEP-8, a Fantasy Console that runs entirely in the browser — but instead of a toy VM, it executes real ARM v4a machine code. Workflow: Write programs in C or C++20 Compile with gnuarm gcc into a ROM image Run it on a cycle-accurate ARM v4a emulator (4 MHz, 1 MB RAM / 1 MB ROM) implemented in JavaScript/TypeScript System highlights: Lightweight RTOS kernel with threads, timers, semaphores, IRQs (via SVC dispatch) Graphics PPU in WebGL (sprites, BG layers, single-color polygons) Sound APU emulating a Namco C30–style chip in JS Fixed 60 fps, works on PC and smartphones via browser 👉 Live demo: https://beep8.org (https://beep8.org/) 👉 Source (free & open): https://github.com/beep8/beep8-sdk I thought it was neat to see modern C++ features compiled into ARM binaries running directly inside a browser environment.
Curious to hear what this community thinks — quirky playground, useful educational tool, or something else? <!-- SC_ON --> submitted by /u/Positive_Board_8086 (https://www.reddit.com/user/Positive_Board_8086)
[link] (https://github.com/beep8/beep8-sdk) [comments] (https://www.reddit.com/r/programming/comments/1ngrh2h/beep8_running_cc20_on_an_emulated_arm_v4a_cpu/)
Why Event-Driven Systems are Hard?
https://www.reddit.com/r/programming/comments/1ngwj0l/why_eventdriven_systems_are_hard/
submitted by /u/scalablethread (https://www.reddit.com/user/scalablethread)
[link] (https://newsletter.scalablethread.com/p/why-event-driven-systems-are-hard) [comments] (https://www.reddit.com/r/programming/comments/1ngwj0l/why_eventdriven_systems_are_hard/)
https://www.reddit.com/r/programming/comments/1ngwj0l/why_eventdriven_systems_are_hard/
submitted by /u/scalablethread (https://www.reddit.com/user/scalablethread)
[link] (https://newsletter.scalablethread.com/p/why-event-driven-systems-are-hard) [comments] (https://www.reddit.com/r/programming/comments/1ngwj0l/why_eventdriven_systems_are_hard/)
Nytril: A programming language and a markup language in one
https://www.reddit.com/r/programming/comments/1ngwm1p/nytril_a_programming_language_and_a_markup/
<!-- SC_OFF -->Nytril has a unique syntax that makes it easy to create complex documents from the results of your code. There are no "Write" or "Print" statements. The results of each expression simply become a part of the document. Here are some of the standout features and new concepts: global functions and namespaces Nytril allows global functions that do not belong to a class and have no 'this' pointer. They can also be defined inside of a namespace. F1(x) = x + 1; // F1 defined globally N1.F2(x) = x + 2; // F2 defined inside the namespace N1 namespace N2 { F3(x) = x + 3; // F3 defined inside the namespace N2 } namespace N2 { // N2 can be repeated F4(x) = x + 4; // F3 and F4 are now a part of N2 } readonly global functions If a global function is marked as readonly, then the function is run the first time it is called anywhere in the program, and the return value is cached. If the function is called again anywhere, the cached value from the first run is returned immediately. This is useful when loading large constant values such as images or the results of database queries or REST calls, where the intention is usually to retrieve information once and then use the same copy for many calculations. readonly Data = ComplexSlowQuery; // Run only once readonly Cost = Data.Quantity * Data.Price; // Use like a variable Affinity operator To create complex formatted text in an easy way, Nytril introduced the affinity operator. In most programming languages, two operands must be separated by a binary operator (e.g. x * y) or else there is a syntax error. In Nytril, if the compiler encounters two operands without a binary operator between them, it inserts an invisible binary 'affinity' operator and continues without error. At runtime, the type of the two operands is assessed and if an affinity exists between the two types, the operation is executed. If there is no affinity between the types, there is a runtime error. "123" "abc" ⇒ "123" + "abc" 3 meters ⇒ 3 * meters Nytril allows the programmer to add left and right affinity between objects of different types, which can create a complex sub-grammar in the language which can increase clarity. The 'each' Operator The each operator is used to call a function with a parameter once for every item in an array. The resulting expression is an array of function return values. Square(x) = x * x;
Square(each [1, 2, 3, 4]); ⇒ [1, 4, 9, 16] If a function has more than 1 parameter, the each operator can be used on more than 1 argument. This raises the dimension of the output array. Power(x, power) = x ^ power; Power(each [1, 2, 3], each [1, 2, 3]); ⇒ [[1, 4, 9], [1, 4, 9], [1, 8, 27]]; Most unary and binary operators can also be used in conjunction with the each operator to provide a very compact expression. (each [1, 2, 3]) ^ (each [1, 2, 3]) ⇒ [[1, 2, 3], [1, 4, 9], [1, 8, 27]]; Revisions A revision is a collection of properties and elements inside curly braces {} that are separated by semi-colons (;}. A property is a "name: value" pair such as TextHeight: 12 pts. An element is any other expression, including variables and values returned from function calls. The properties and elements of a revision are computed at runtime, so a revision "executes" just like a scope in a function. A revision adds elements to, and modifies the properties of, format objects in a document. A revision acts on the format object to its left, without modifying it. The combination of the left-hand operand and the right-hand revision is a new revised object that has the properties and elements of the left-hand format/revision plus any additional elements of the right-hand revision, and the added (or overridden) properties of the right-hand revision. By stacking and combining revisions, hierarchical style dictionaries can be created easily in a manner
https://www.reddit.com/r/programming/comments/1ngwm1p/nytril_a_programming_language_and_a_markup/
<!-- SC_OFF -->Nytril has a unique syntax that makes it easy to create complex documents from the results of your code. There are no "Write" or "Print" statements. The results of each expression simply become a part of the document. Here are some of the standout features and new concepts: global functions and namespaces Nytril allows global functions that do not belong to a class and have no 'this' pointer. They can also be defined inside of a namespace. F1(x) = x + 1; // F1 defined globally N1.F2(x) = x + 2; // F2 defined inside the namespace N1 namespace N2 { F3(x) = x + 3; // F3 defined inside the namespace N2 } namespace N2 { // N2 can be repeated F4(x) = x + 4; // F3 and F4 are now a part of N2 } readonly global functions If a global function is marked as readonly, then the function is run the first time it is called anywhere in the program, and the return value is cached. If the function is called again anywhere, the cached value from the first run is returned immediately. This is useful when loading large constant values such as images or the results of database queries or REST calls, where the intention is usually to retrieve information once and then use the same copy for many calculations. readonly Data = ComplexSlowQuery; // Run only once readonly Cost = Data.Quantity * Data.Price; // Use like a variable Affinity operator To create complex formatted text in an easy way, Nytril introduced the affinity operator. In most programming languages, two operands must be separated by a binary operator (e.g. x * y) or else there is a syntax error. In Nytril, if the compiler encounters two operands without a binary operator between them, it inserts an invisible binary 'affinity' operator and continues without error. At runtime, the type of the two operands is assessed and if an affinity exists between the two types, the operation is executed. If there is no affinity between the types, there is a runtime error. "123" "abc" ⇒ "123" + "abc" 3 meters ⇒ 3 * meters Nytril allows the programmer to add left and right affinity between objects of different types, which can create a complex sub-grammar in the language which can increase clarity. The 'each' Operator The each operator is used to call a function with a parameter once for every item in an array. The resulting expression is an array of function return values. Square(x) = x * x;
Square(each [1, 2, 3, 4]); ⇒ [1, 4, 9, 16] If a function has more than 1 parameter, the each operator can be used on more than 1 argument. This raises the dimension of the output array. Power(x, power) = x ^ power; Power(each [1, 2, 3], each [1, 2, 3]); ⇒ [[1, 4, 9], [1, 4, 9], [1, 8, 27]]; Most unary and binary operators can also be used in conjunction with the each operator to provide a very compact expression. (each [1, 2, 3]) ^ (each [1, 2, 3]) ⇒ [[1, 2, 3], [1, 4, 9], [1, 8, 27]]; Revisions A revision is a collection of properties and elements inside curly braces {} that are separated by semi-colons (;}. A property is a "name: value" pair such as TextHeight: 12 pts. An element is any other expression, including variables and values returned from function calls. The properties and elements of a revision are computed at runtime, so a revision "executes" just like a scope in a function. A revision adds elements to, and modifies the properties of, format objects in a document. A revision acts on the format object to its left, without modifying it. The combination of the left-hand operand and the right-hand revision is a new revised object that has the properties and elements of the left-hand format/revision plus any additional elements of the right-hand revision, and the added (or overridden) properties of the right-hand revision. By stacking and combining revisions, hierarchical style dictionaries can be created easily in a manner