1
7
submitted 19 hours ago by yogthos@lemmy.ml to c/programming@lemmy.ml
2
12
submitted 1 day ago* (last edited 1 day 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?

3
29
submitted 3 days 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
4
14
5
1
submitted 5 days ago by trevor@lemmy.ml to c/programming@lemmy.ml
6
8
submitted 1 week ago by yogthos@lemmy.ml to c/programming@lemmy.ml
7
7
A video game in a font (www.coderelay.io)
submitted 1 week ago by yogthos@lemmy.ml to c/programming@lemmy.ml
8
0
submitted 1 week ago by yogthos@lemmy.ml to c/programming@lemmy.ml
9
3
submitted 2 weeks 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?

10
20
submitted 1 month ago by floofloof@lemmy.ca to c/programming@lemmy.ml
11
5
submitted 1 month ago by yogthos@lemmy.ml to c/programming@lemmy.ml
12
9
submitted 1 month 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.

13
12
submitted 1 month ago by yogthos@lemmy.ml to c/programming@lemmy.ml
14
42
submitted 1 month 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?

15
2
submitted 1 month ago by yogthos@lemmy.ml to c/programming@lemmy.ml
16
-1
Code Goes In, Art Comes Out (www.tylerxhobbs.com)
submitted 1 month ago by yogthos@lemmy.ml to c/programming@lemmy.ml
17
11
submitted 1 month 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?

18
4
C/Cpp projects (lemmy.ml)
submitted 1 month 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

19
3
submitted 1 month ago by yogthos@lemmy.ml to c/programming@lemmy.ml
20
7
submitted 1 month ago by yogthos@lemmy.ml to c/programming@lemmy.ml

Traditionally, algorithms for counting distinct items in a stream of data would store all the items. A new algorithm, called CVM, uses randomization to estimate the number of distinct items with minimal memory usage. The trick is to keep track of items by recording them and then randomly deleting some. The probability of an item staying on the list is related to the number of rounds it survives. With this method, the researchers were able to accurately estimate the number of distinct words in Hamlet.

21
17
New C++ features in GCC 14 (developers.redhat.com)
submitted 1 month ago by JRepin@lemmy.ml to c/programming@lemmy.ml

The next major version of the GNU Compiler Collection (GCC), 14.1, was released on May 7 2024. Like every major GCC release, this version brings many additions, improvements, bug fixes, and new features.

22
15
submitted 1 month ago by bahmanm@lemmy.ml to c/programming@lemmy.ml

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

Just wanted to share some (exciting) news about my Common Lisp project, euler-cl. I finally got the time to sit down and integrate it with Codecov! This means a couple of cool things:

  • 📈 Test Coverage Tracking: I can now see how well my code is tested over time, giving valuable insights into code quality.
  • 🏅 Codecov Badge: euler-cl now sports a snazzy Codecov badge to show off!
  • 📦 Reusable Setup: The code and setup process should be simple enough to be used as a reference to integrate Codecov (and potentially other services) into your own Common Lisp projects!

If you're interested this commit is almost all you need: https://github.com/bahmanm/euler-cl/commit/855b014

Let me know in the comments if you have any questions or want to chat about integrating Codecov into your own projects!

23
1
submitted 1 month ago by yogthos@lemmy.ml to c/programming@lemmy.ml
24
15
On Hack Club (place.reeseric.ci)
submitted 1 month ago by reesericci@lemmy.ml to c/programming@lemmy.ml

A comprehensive guide to Hack Club's inner circle, potential labor law violations, union busting, and fundamental lack of transparency, democracy & respect for members.

25
15
submitted 2 months ago by velox_vulnus@lemmy.ml to c/programming@lemmy.ml

Sorry if the question is a little vague. Lately, I've been exploring functional languages, and I'm really ill-informed about them.

I'm aware that most of these languages use some sort of garbage collection or reference counting, also that they're (slightly) slow, and that there's no other way for them to clear their memory manually apart from having to use inline C/C++. I know that some functional language can convert to C, but I'm not really interested in that.

I would like to understand if a system programming language, that is also purely functional, exists? If so, how does memory management work in such circumstances? Can be accommodated in a way such that it helps in the creation of, let's say, the OS kernel, and not the other way round. Can it run without having to use any inline assembly/C/C++ code?

If not pure functional languages, then what about impure ones?

view more: next ›

General Programming Discussion

7553 readers
9 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