Skip to content

TyOverby/Bark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IMPORTANT

Bark has not been audited by smart people yet. Use at your own peril!

Bark is up for adoption; if you or someone you know wants to pick up this project, please let me know!

What is Bark?

Bark<T> is a pointer type for reference-counted data similar to Arc<T> or Rc<T>.

Unlike Arc, Bark only uses atomic operations when crossing threads, or when all Barks on a thread are gone.

This means that Bark is as cheap as an Rc when doing thread-local clones and drops, but once you send one to another thread, it'll start tracking that thread seperately and correctly updates the cross-thread reference count!

About

A better Arc / Rc [Still in research mode]

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages