Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9158811
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T13:20:20+00:00 2026-06-17T13:20:20+00:00

Are there any libraries that bring ref s, atom s and agent s to

  • 0

Are there any libraries that bring refs, atoms and agents to C code?

Are there also structural sharing libraries for C to accompany?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T13:20:22+00:00Added an answer on June 17, 2026 at 1:20 pm

    To my knowledge no.

    Even if there was, IMHO it wouldn’t be a particularly good fit for C code:

    • These approaches depend heavily on the JVM to provide memory management and garbage collection. Structural sharing, in particular, implies that you can’t easily determine who else is using a particular block of a data structure. So you really want automatic GC to clear this up when the last reference to a structural component disappears.
    • The usefulness of the STM constructs is really in concurrent situations. It’s much harder to write good concurrent code in C than in a JVM language where threading support is pervasive and more consistent across platforms / libraries.
    • At least in the way that they are used in Clojure, the STM constructs are designed to be used in a functional programming language (i.e. a language where functions are pure, where you typically code by composing higher order functions and data is immutable). e.g. the function swap! for updating an atom is itself a higher order function.

    While I’m not saying that you can’t write functional-style STM code in C if you are determined enough…. it’s not a good fit though, and you’d probably end up reinventing something like Lisp anyway. I’m reminded of Greenspun’s tenth rule of programming:

    Any sufficiently complicated C or Fortran program contains an ad hoc,
    informally-specified, bug-ridden, slow implementation of half of
    Common Lisp.

    Basically, use the right tool for the job 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Are there any libraries that provide username and password login for Google AppEngine? While
Are there any libraries that support JSTL style coding in an ASP MVC view?
Are there any libraries available that allow Android applications to transcode videos to different
Are there any PHP libraries that provide similar functionality to Kenneth Reitz's clint library
Are there any libraries or utilities that will formally spell out the time? Examples:
Are there any existing libraries in existence that will parse a datetime from a
Are there any tools/libraries on Windows that can help me tarck down the culprit?
Is there any function in haskell libraries that sorts integers in O(n) time?? [By,
Are there any libraries create programs in java that uses a file as a
are there any libraries for Linux wrote with C++, that could register global hotkeys

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.