Reddit Programming
210 subscribers
1.22K photos
123K links
I will send you newest post from subreddit /r/programming
Download Telegram
Built a High-Performance Key-Value Datastore in Pure Java
https://www.reddit.com/r/programming/comments/1nhdu6k/built_a_highperformance_keyvalue_datastore_in/

<!-- SC_OFF -->Hello everyone, I am excited to share a small milestone, it's the project I have been working in my free time during weekends since past 2 years. DataStore4J a key value datastore entirely written in Java, inspired by Google's LevelDB (https://github.com/theuntamed839/DataStore4J), its still under development. I’ve published some benchmarks results (https://github.com/theuntamed839/DataStore4J/blob/main/BenchMark/readme.md) The performance is on par with LevelDB, and for comparison I also included Facebook's RocksDB (which is a different beast altogether) I’ve also written some documentation on the internals of the DB (https://github.com/theuntamed839/DataStore4J/wiki) The aim was to get it to a good comparable performance level with levelDB. Lots of learning from this project, from database internals to Java's concurrency, to using JMH for benchmarks and Jimfs for testing.
I’m the sole developer on this, so I’m sure I’ve misused Java in places, missed edge cases, or even obvious bugs. I'd love to hear any feedback, and issues from those who've tried it out. Thank you all. <!-- SC_ON --> submitted by /u/theuntamed000 (https://www.reddit.com/user/theuntamed000)
[link] (https://github.com/theuntamed839/DataStore4J) [comments] (https://www.reddit.com/r/programming/comments/1nhdu6k/built_a_highperformance_keyvalue_datastore_in/)
Write Code With Less Legal Risk | Legal Expert MCP Server
https://www.reddit.com/r/programming/comments/1nhek3s/write_code_with_less_legal_risk_legal_expert_mcp/

<!-- SC_OFF -->Hello everyone, As a software engineer I’ve often noticed devs run into the same issue: they don’t know the legal landscape when creating a new app or business idea. I faced this problem many times. Since I used to be an attorney, I consolidated my knowledge into a legal expert MCP server. It exposes these prompts: legal_landscape_discovery comprehensive_privacy_audit ai_ethics_and_compliance_scan intellectual_property_and_oss_audit market_and_customer_compliance_audit website_and_app_legal_disclosure_check security_legal_alignment_check risk_analysis_framework legal_expert_prompts_catalog It’s the first version, but I wanted to share. I’m not here to self-promote. I just wanted to create something that will help other devs. if you’re interested, let me know and I’ll DM you the GitHub repo. Feel free to fork or extend it. (Works with VS Code GitHub Copilot and Cursor as slash commands with arguments. There’s currently a bug with MCP prompts in Claude code.) Necessary Disclaimer: This MCP server produces informational analyses only. It is not legal advice, I take no responsibility for any legal or compliance consequences, and you use it entirely at your own risk given the inherent limitations and hallucinations of LLMs. <!-- SC_ON --> submitted by /u/DimWebDev (https://www.reddit.com/user/DimWebDev)
[link] (https://github.com/DimWebDev/legal_expert_mcp_server) [comments] (https://www.reddit.com/r/programming/comments/1nhek3s/write_code_with_less_legal_risk_legal_expert_mcp/)
Adaptive Programming Systems for Humans and AI
https://www.reddit.com/r/programming/comments/1nibk9s/adaptive_programming_systems_for_humans_and_ai/

<!-- SC_OFF -->Just like buildings, software must be built to evolve. My new article explores the challenges that arise when humans and AI collaborate on programming and how we can mitigate these issues to create a more resilient ecosystem. https://gfrison.com/2025/adaptive-programming-systems <!-- SC_ON --> submitted by /u/gfrison (https://www.reddit.com/user/gfrison)
[link] (https://gfrison.com/2025/adaptive-programming-systems) [comments] (https://www.reddit.com/r/programming/comments/1nibk9s/adaptive_programming_systems_for_humans_and_ai/)