programming.dev

10,071 readers
396 users here now

Welcome Programmers!

programming.dev is a collection of programming communities and other topics relevant to software engineers, hackers, roboticists, hardware and software enthusiasts, and more.

The site is primarily english with some communities in other languages. We are connected to many other sites using the activitypub protocol that you can view posts from in the "all" tab while the "local" tab shows posts on our site.


🔗 Site with links to all relevant programming.dev sites

🟩 Not a fan of the default UI? We have alternate frontends we host that you can view the same content from

ℹ️ We have a wiki site that communities can host documents on


⚖️ All users are expected to follow our Code of Conduct and the other various documents on our legal site

🏘️ Want to create a new community? Please follow our Community Guidelines

❤️ The site is run by a team of volunteers. If youre interested in donating to help fund things such as server costs you can do so here

💬 We have a microblog site aimed towards programmers available at https://bytes.programming.dev

🛠️ We have a forgejo instance for hosting git repositories relating to our site and the fediverse. If you have a project that relates and follows our Code of Conduct feel free to host it there and if you have ideas for things to improve our sites feel free to create issues in the relevant repositories. To go along with the instance we also have a site for sharing small code snippets that might be too small for their own repository.

🌲 We have a discord server and a matrix space for chatting with other members of the community. These are bridged to each other (so you can interact with people using matrix from discord and vice versa.

Fediseer


founded 2 years ago
ADMINS

Broken communities have been fixed, report any issues to ategon

26
 
 

A new command-line option to control how many threads should be used to allocate huge pages. This can help "significantly" reduce boot time by tuning the parallelization of huge page initialization. This new command line option is "hugetlb_alloc_threads" and ideal if wanting to speed-up boot performance when allocating a large number of huge pages. The hugetlb_alloc_threads default is 25% of the available hardware threads. Cyberus Tech engineers found as much as a 2.75~4.3x speed-up for large servers:

27
 
 

I've been playing around with Bevy for a while and finally thought it worth sharing the progress I've made.


Konstruo is a standalone scenario based town building game giving you the freedom to build villages, towns, and cities with intuitive urban planning tools.

You'll need to overcome complex constraints to plan an optimal community for different sites.


Right now it only has the absolute basics of a prototype.

The README.md on GitHub has:


Progress so far is available under an AGPL license so features can be borrowed for your own games provided you also share your work under the AGPL license.

Once Konstruo reaches a significant milestone of development I'll split it into separate crates. My intention is for the libraries and tools (drawing, UI, etc) to be open source under AGPL but the modes and scenarios that make it a game will be propriety.

After seeing how enthusiastic the modding community for Cities Skylines is I'm hoping by keeping it open that people will be keen to experiment with Bevy themselves and extend Konstruo with their own features or game modes.

For example I'm mostly interested in the design of communities but others may want to add simulation features to bring that community to life.

28
 
 

China is doubling down on the RISC-V architecture.

29
 
 
30
 
 

Is there a way to open a folder (a project) from terminal like in VS Code where you can

cd path/to/project
code ./

And VS Code opens up with that project (directory) ready

31
32
33
41
Announcing Rust 1.86.0 (blog.rust-lang.org)
submitted 11 hours ago by [email protected] to c/rust
34
 
 

An aggressive plan.

35
36
 
 
37
38
4
submitted 10 hours ago* (last edited 7 hours ago) by [email protected] to c/rust
 
 

Ok so I am currently using FLTK-rs for GUI design so if there's an fellow rustacean I would like your input.

Am I making any progress in this project I have undertaken (I advise you navigate to the Files section/tab). I need some feedback

I am using FLUID to build the GUI & basically I wish to recreate LBRY-Desktop. Please do note that, I come from a non-programming background.

39
 
 

Archive: https://archive.is/2025.04.03-022506/https://www.ft.com/content/bf1baea6-32f8-4e6b-997a-5214ea1e89f4

The South Korean electronics group revealed last month that the value of its exports to China jumped 54 per cent between 2023 and 2024, as Chinese companies rush to secure stockpiles of advanced artificial intelligence chips in the face of increasingly restrictive US export controls.

In one previously unreported deal, Samsung last year sold more than three years’ supply of logic dies — a key component in manufacturing AI chips — to Kunlun, the semiconductor design subsidiary of Chinese tech group Baidu, according to people familiar with the matter. 

But the increasing importance of its China sales to Samsung comes as it navigates growing trade tensions between Washington and Beijing over the development of sensitive technologies.

40
 
 

Hello!

So I installed an addon and saw that it made a license, readme and so on on the main folder. At the moment I didn't had those files there since I'm still very early on the game but shouldn't this files be inside the addon folder instead of the whole project?

The addon is as simple as check for the TODO on the comments but I want to do this properly. Where should I move this files of the addon? Or my License would substitute the one there if it's stronger?

Thanks!

41
42
 
 
43
 
 
44
45
46
11
submitted 18 hours ago* (last edited 18 hours ago) by absolutely_vivid to c/rust
 
 

I built a library for working with a compression format used by Godot. It’s my first Rust library and I thought the little bit of reverse engineering I did for the format would make for an interesting blog post. Let me know what you think!

(Reposting because I still don't know understand the lemmy UI lol)

47
 
 
48
 
 
49
 
 

In order to ensure the long-term sustainability of my OSS projects, I will be commercializing AutoMapper and MediatR.

What Will This Look Like?

The short answer is "I don't know exactly". I'm working out those details now and will share them when I figure it out.

50
 
 

How do I get Webstorm to format with prettier on save? There's the manual "reformat with prettier" command that works like a charm, but how do I trigger it on save?

view more: ‹ prev next ›