Discussion
Loading...

#Tag

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
HoldMyType
@xameer@mathstodon.xyz  ·  activity timestamp 22 hours ago

CPP is a C preprocessor, but it is common to use it in Haskell. That leads to a number of issues.

It can mess with haskell code.

#CPP doesn’t understand Haskell code, instead it assumes C code. It is free to remove insignificant (for C, not for Haskell) whitespace, expand macros in Haskell comments and strings or mess with identifiers that contain ' or #.

It leads to unnecessary recompilation.

Every time you change your .cabal file, e.g. add new module, or update dependencies, cabal regenerates cabal-macros.h file. Then the recompilation checker pessimistically decides to recompile all modules with CPP enabled.

It makes automatic code analyzing and transforming harder.

#haskell
http://blog.haskell-exists.com/yuras/posts/stop-abusing-cpp-in-haskell.html

  • Copy link
  • Flag this post
  • Block
jbz
@jbz@indieweb.social  ·  activity timestamp 2 days ago

In Defense of C++ / Dayvi Schuster

「 Premature optimization is the root of all evil, and in C++, you can write perfectly fine code without ever needing to worry about the more complex features of the language. You can write simple, readable, and maintainable code in C++ without ever needing to use templates, operator overloading, or any of the other more advanced features of the language 」

https://dayvster.com/blog/in-defense-of-cpp/

#cpp #plt #programming

  • Copy link
  • Flag this post
  • Block
jbz
@jbz@indieweb.social  ·  activity timestamp 6 days ago

🛡️ Safe C++ proposal is not being continued | Simone Bellavia
https://sibellavia.lol/posts/2025/09/safe-c-proposal-is-not-being-continued/

#cpp #memorysafety #plt

  • Copy link
  • Flag this post
  • Block
Alex Akselrod
Alex Akselrod boosted
saxnot ➡️ HOA, GPN
@saxnot@chaos.social  ·  activity timestamp last month

Looking for a new work place starting in 2026Q1.
Remote and/or near #Hannover / #Braunschweig

Senior Software Developer, primarily in #Java / #Kotlin but I know a few other langs from #CPP, #Batch, #AndroidDev to #CSharp and I'm experienced enough to know programming is about communcating with fellow humans and every other computer thing can be learned shortly.
I can't stress how unimportant the lang is.

Queer, CCC, degree of disability
BoostOKBoostOKBoostOK, Thanks!
#fedihired #hireme

  • Copy link
  • Flag this post
  • Block
saxnot ➡️ HOA, GPN
@saxnot@chaos.social  ·  activity timestamp last month

Looking for a new work place starting in 2026Q1.
Remote and/or near #Hannover / #Braunschweig

Senior Software Developer, primarily in #Java / #Kotlin but I know a few other langs from #CPP, #Batch, #AndroidDev to #CSharp and I'm experienced enough to know programming is about communcating with fellow humans and every other computer thing can be learned shortly.
I can't stress how unimportant the lang is.

Queer, CCC, degree of disability
BoostOKBoostOKBoostOK, Thanks!
#fedihired #hireme

  • Copy link
  • Flag this post
  • Block
Alex Akselrod
Alex Akselrod boosted
賢進ジェンナ
@kenjen@pdx.social  ·  activity timestamp last month
  • Software engineer/developer
    - Preference for 3rd shift, but if I can work anywhere, I'll find a place to live to fit your schedule.
    - holistic software development("full stack")
    - References out the wazoo, especially from my most recent position.
    - Any language, but I'm practiced in Java, #cpp , HTML, CSS, like #rust , and have professional exp. in Java, SQL, PL/SQL, and BASH
    - English, #日本語 , #suomi , Français, et Español.

    #getfedihired #nonprofit #opensource

  • Copy link
  • Flag this post
  • Block
賢進ジェンナ
@kenjen@pdx.social  ·  activity timestamp last month
  • Software engineer/developer
    - Preference for 3rd shift, but if I can work anywhere, I'll find a place to live to fit your schedule.
    - holistic software development("full stack")
    - References out the wazoo, especially from my most recent position.
    - Any language, but I'm practiced in Java, #cpp , HTML, CSS, like #rust , and have professional exp. in Java, SQL, PL/SQL, and BASH
    - English, #日本語 , #suomi , Français, et Español.

    #getfedihired #nonprofit #opensource

  • Copy link
  • Flag this post
  • Block
Kat Marchán 🐈
@zkat@toot.cat  ·  activity timestamp 2 months ago

Dear C++ #CPP people: how do you actually fucking do this? It seems bad enough that I need to have two overloads just to allow for the "no args" version.

But that template overload fails at link time because of an undefined symbol???

UPDATE: It’s because I needed to define it in the header file itself, not just declare it

void info(std::string_view out) {
  ::sys::log::f_log_log(::sys::log::LogLevel::Info,
                              static_cast<std::string>(out));
}
template <class... Args>
void info(std::format_string<Args...> fmt, Args &&...args) {
  ::sys::log::f_log_log(::sys::log::LogLevel::Info,
                              std::format(fmt, std::forward<Args>(args)...));
}
void info(std::string_view out) { ::sys::log::f_log_log(::sys::log::LogLevel::Info, static_cast<std::string>(out)); } template <class... Args> void info(std::format_string<Args...> fmt, Args &&...args) { ::sys::log::f_log_log(::sys::log::LogLevel::Info, std::format(fmt, std::forward<Args>(args)...)); }
void info(std::string_view out) { ::sys::log::f_log_log(::sys::log::LogLevel::Info, static_cast<std::string>(out)); } template <class... Args> void info(std::format_string<Args...> fmt, Args &&...args) { ::sys::log::f_log_log(::sys::log::LogLevel::Info, std::format(fmt, std::forward<Args>(args)...)); }
  • Copy link
  • Flag this post
  • Block
jbz
@jbz@indieweb.social  ·  activity timestamp 2 months ago

"C is a simple language. This is fact I agree with and appreciate. It is the reason for C's endurance. If someone posts a patch or submits a PR to a codebase written in C, it is easier to review than any other mainstream language. There is no spooky at a distance."

https://mnvr.in/rust

#rust #c #cpp #haskell

  • Copy link
  • Flag this post
  • Block
blami
@blami@mastodon.online  ·  activity timestamp 2 months ago
@graves501 For me Rust is like nextgen C++ and Go is like nextgen userspace C. I do a lot of #Go #golang and #Cpp (because I have to) and while I tried #Rust I rather port things I can from C++ to Go because I hardly see any use of all that C++ “what if” abstraction anymore. Rather than rewriting 1:1 I enjoy shrinking and reducing them to simplicity. I quite enjoy Go and understand other folks enjoy Rust. It is nice we have choice and languages evolve.
  • Copy link
  • Flag this post
  • Block
Federico Mena Quintero
Federico Mena Quintero boosted
Lunya 🌸 :floof_t: :haj_s:
@luna@lunar.place  ·  activity timestamp 7 months ago

I'm currently looking for a remote software development job

I have plenty of experience making software using all sorts of languages, frameworks and tools. Tho I have the most experience with Rust, C++, C#. I also usually do native cross platform applications and backend.

You can find my full CV on my website https://luna.graphics

#GetFediHired #JobSearch #RemoteWork #Rust #Rustlang #CPP #CSharp #Backend

  • Copy link
  • Flag this post
  • Block
Viktor Nagornyy
@viktor@fosstodon.org  ·  activity timestamp 3 months ago

Any MacOS developers in the house? 😁

Nextcloud Desktop team is hiring:
https://www.linkedin.com/jobs/view/4250386954/

(I'm not in engineering, so can't answer questions about the position)

Boosts appreciated 🙏

#getfedihired #opensource #macos#SoftwareEngineering #hiring #jobs #cpp

  • Copy link
  • Flag this post
  • Block
Lunya 🌸 :floof_t: :haj_s:
@luna@lunar.place  ·  activity timestamp 7 months ago

I'm currently looking for a remote software development job

I have plenty of experience making software using all sorts of languages, frameworks and tools. Tho I have the most experience with Rust, C++, C#. I also usually do native cross platform applications and backend.

You can find my full CV on my website https://luna.graphics

#GetFediHired #JobSearch #RemoteWork #Rust #Rustlang #CPP #CSharp #Backend

  • Copy link
  • Flag this post
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.2.21 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login