26
5
Sentinel-free schemas: a thought experiment (minimalmodeling.substack.com)
submitted 2 months ago by hongminhee@lemmy.ml to c/programming@lemmy.ml
27
17
submitted 2 months ago by JRepin@lemmy.ml to c/programming@lemmy.ml

With performance optimizations seemingly having lost their relevance in an era of ever-increasing hardware performance, there are still many good reasons to spend some time optimizing code. In a recent preprint article by [Paul Bilokon] and [Burak Gunduz] of the Imperial College London the focus is specifically on low-latency patterns.

28
11
submitted 2 months ago by bahmanm@lemmy.ml to c/programming@lemmy.ml

cross-posted from: https://lemmy.ml/post/17978313

Shameless plug: I am the author.

29
24
submitted 2 months ago by Thorry84@feddit.nl to c/programming@lemmy.ml

Serious question. I know there are a lot of memes about microservices, both advocating and against it. And jokes from devs who go and turn monoliths into microservices and then back again. For my line of work it isn't all that relevant, but a discussion I heard today made me wonder.

There were two camps in this discussion. One side said microservices are the future, all big companies are moving towards it, the entire industry is moving towards it. In their view, if it wasn't Mach architecture, it wasn't valid software. In their world both software they made themselves and software bought or licensed (SaaS) externally should be all microservices, api first, cloud-native and headless. The other camp said it was foolish to think this is actually what's happening in the industry and depending on where you look microservices are actually abandoned instead of moving towards. By demanding all software to be like this you are limiting what there is on offer. Furthermore the total cost of operation would be higher and connecting everything together in a coherent way is a nightmare. Instead of gaining flexibility, one can actually lose flexibility because changing interfaces could be very hard or even impossible with software not fully under your own control. They argued a lot of the benefits are only slight or even nonexistent and not required in the current age of day.

They asked what I thought and I had to confess I didn't really have an answer for them. I don't know what the industry is doing and I think whether or not to use microservices is highly dependent on the situation. I don't know if there is a universal answer.

Do you guys have any good thoughts on this? Are microservices the future, or just a fad which needs to be forgotten ASAP.

30
4
submitted 2 months ago by JRepin@lemmy.ml to c/programming@lemmy.ml

It’s been over a year since Khronos started working on the Vulkan SC Ecosystem. Now that the component stack has reached a high level of maturity, it seemed appropriate to write an article about the secret sauce behind the Vulkan SC Ecosystem components that enabled us to leverage the industry-proven Vulkan Ecosystem components to provide corresponding developer tooling for the safety-critical variant of the API.

Vulkan SC was released by the Khronos Group in 2022 as the first of the new generation of explicit APIs to target safety-critical systems. The Vulkan SC 1.0 specification is based on the Vulkan 1.2 API and aims to enable safety-critical application developers access to and detailed control of the graphics and compute capabilities of modern GPUs. In order to accomplish that, Vulkan SC removes functionality from Vulkan 1.2 that is not applicable, not relevant, or otherwise not essential for safety-critical markets, and tweaks the APIs to achieve even more deterministic and robust behavior to meet safety certification standards.

The Vulkan SC Ecosystem components, such as the ICD Loader and Validation Layers, are not safety certified software components themselves, rather, they are developer tools intended to be used by application developers writing safety-critical applications using the Vulkan SC API. Building on the success of the corresponding ecosystem components available for the Vulkan API, the goal for the Vulkan SC Ecosystem is to leverage the tremendous engineering effort that went (and still goes) into those in order to create a comparably comprehensive suite of developer tools for the safety-critical variant of the API, amended with additional features specific to Vulkan SC. Reaching that goal, however, came with its own set of challenges…

31
15
submitted 2 months ago by JRepin@lemmy.ml to c/programming@lemmy.ml

Performance optimisation matters when you are trying to get your application working in a resource-constrained environment. This is typically the case in embedded but also in some desktop scenarious you may run short on resources so it’s not a matter without significance on desktop either.

What we mean by performance here is the ability to get the application running to fulfill its purpose, in practice typically meaning sufficient fps in the UI and meeting other nonfunctional requirements, such as startup time, memory consumption and CPU/GPU load.

There have been a number of discussions on Qt performance aspects and as we have been working on a number of related items we thought now could be a good time to provide a summary of all the activities and tools we have. You can optimise the performance of your application by utilising them and also use them in testing. We have been working on improving existing performance tools as well as adding new ones and providing guidelines, so let’s look at the latest additions. This post is starting a stream of blog posts to help you with performance optimisation and provide a view to our activities in this area.

32
6
submitted 2 months ago by yogthos@lemmy.ml to c/programming@lemmy.ml
33
13
submitted 3 months ago* (last edited 3 months ago) by Ergo42@discuss.online to c/programming@lemmy.ml

Hey, just uploading here at lemmy, so I can link an attachment to a Godot forum (new users to godot forum can't upload attachments).

But, if anyone here is a Godoteneer or programmer, I'd love to hear your ideas.

The attached demo is a simulation I did on Blender showing the type of interaction I mean. The green wire mesh represents a vertical plane that has the horizontal edge shaped by a bezier curve. The ball has a physics simulation on the up and down (z axis) with only horizontal movement on the (let's call it the c-axis). So, all linear movement on the c-axis is translated to a x and y position using the bezier plane.

My initial thoughts on how I might approach such a setup would be to create all nodes in 3d space except for the physics shapes. This might allow using the 2d physics shape but keep the 3d model meshes and lights. But the it would have to be a 2d RigidBody, and I'm not sure if I could translate a 2d position space to a 3d position space ... I think I need a broader understanding of the core code of Godot. In the past, I've been successful in a c++ Godot module, then later refactoring it to a GDExtension. But that was needed for a high performant line gesture engine. I haven't yet delved too much into the guts of Godot.

Any pointers? Or inspired thoughts?

34
32
submitted 3 months ago by JRepin@lemmy.ml to c/programming@lemmy.ml

Codevis is a Large Scale software visualizer, focused on C++ codebases. it can help you identify issues and smells in your codebase. It also has an extensive plugin interface and some preliminary scripting support.

Features:

  • Generate a Visualization from Pre-Existing code
  • Generate architectural code from a visualization
  • Plugin System that allows you to add missing features
  • Architectural linters (not just code linters)
  • DBus support
35
0
submitted 3 months ago by trevor@lemmy.ml to c/programming@lemmy.ml
36
15
37
8
submitted 3 months ago by yogthos@lemmy.ml to c/programming@lemmy.ml
38
7
A video game in a font (www.coderelay.io)
submitted 3 months ago by yogthos@lemmy.ml to c/programming@lemmy.ml
39
0
submitted 3 months ago by yogthos@lemmy.ml to c/programming@lemmy.ml
40
3
submitted 3 months ago by vfreire85@lemmy.ml to c/programming@lemmy.ml

I'm in the course of pursuing a change in my career towards software engineering/architecture. So far I've been brought mostly to C#/.NET and Java, though Java attracts me more, even considering that it might be a "dying" language. Still, Scala and Clojure are there, so I thought that they might give a pump at least to JVMs. In your opinion, should I invest in pursuing certifications/jobs in this field, or sticking to C#/.NET is a better path?

41
21
submitted 4 months ago by floofloof@lemmy.ca to c/programming@lemmy.ml
42
5
submitted 4 months ago by yogthos@lemmy.ml to c/programming@lemmy.ml
43
9
submitted 4 months ago by JRepin@lemmy.ml to c/programming@lemmy.ml

Since we first announced it last year, our Vulkan wrapper KDGpu has been busy evolving to meet customer needs and our own. Our last post announced the public release of v0.1.0, and version 0.5.0 is available today. It’s never been easier to interact with modern graphics technologies, enabling you to focus on the big picture instead of hassling with the intricacies and nuances of Vulkan.

44
12
submitted 4 months ago by yogthos@lemmy.ml to c/programming@lemmy.ml
45
44
submitted 4 months ago by lorty@lemmy.ml to c/programming@lemmy.ml

I just want to build requests and read the responses, why the hell does everyone suddenly want me to make an account?

46
2
submitted 4 months ago by yogthos@lemmy.ml to c/programming@lemmy.ml
47
-1
Code Goes In, Art Comes Out (www.tylerxhobbs.com)
submitted 4 months ago by yogthos@lemmy.ml to c/programming@lemmy.ml
48
11
submitted 4 months ago by vfreire85@lemmy.ml to c/programming@lemmy.ml

New language promises to reduce compilation times by using all threads and gpu cores available on your machine. What's your opinions on it so far?

49
4
C/Cpp projects (lemmy.ml)
submitted 4 months ago by ibra_kdbra@lemmy.ml to c/programming@lemmy.ml

A while back, I created a repository for all the C/Cpp projects I’ve worked on, ones I’m still creating, or projects I’ve really liked from other people (including their licenses and credits). It’s essentially a big collection of C++ projects you can browse or use.

I recommend starting with:

  • miniShell

  • canChat

  • Simple-Code

  • design-patterns

  • Template_Language_Generator

  • simple_turso

  • CPP20_Develop

GitHub repository: https://github.com/ibra-kdbra/Cpp_Projects

Every directory has a README markdown file. The main README file is a bit disorganized because I’ve just been adding projects to it. To be honest, I could use some help with that.

Any contribution is welcome, spreading Cpp projects more among people

50
3
submitted 4 months ago by yogthos@lemmy.ml to c/programming@lemmy.ml
view more: ‹ prev next ›

General Programming Discussion

7740 readers
2 users here now

A general programming discussion community.

Rules:

  1. Be civil.
  2. Please start discussions that spark conversation

Other communities

Systems

Functional Programming

Also related

founded 5 years ago
MODERATORS