Hacker GitHub

← All repos

duneroadrunner/SaferCPlusPlus

View on GitHub ↗ ★ 425 C++

A collection of safe data types that are compatible with, and can substitute for, common unsafe native c++ types

100 mentions on Hacker News by 6 people: 2 stories, 98 comments · first 2016-09-26 · latest 2026-08-03

Mentions per year 100 mentions · busiest year 2017 (40)
20082026
  1. …importantly, safety effectiveness. And it does address the data race issue. [1] shameless plug: https://github.com/duneroadrunner/SaferCPlusPlus
    comment by duneroadrunner · 2017-09-22 · in Mrustc: a Rust compiler written in C++
  2. …Apparently there is a C++ interpreter[2]. Anyone have any experience with it? [1] shameless plug: https://github.com/duneroadrunner/SaferCPlusPlus [2] https://root.cern.ch/cling
    comment by duneroadrunner · 2017-09-07 · in C++17 is formally approved
  3. …any object so that access from different threads is safely controlled[1]. [1] shameless plug: https://github.com/duneroadrunner/SaferCPlusPlus#asynchronou...
    comment by duneroadrunner · 2017-09-02 · in Hell is a multi-threaded C++ program (2006)
  4. …safety or have some other issue with using Rust, SaferCPlusPlus may be a more attractive choice. https://github.com/duneroadrunner/SaferCPlusPlus#safercplusp...
  5. …overflow vulnerabilities via automated (partial) translation to SaferCPlusPlus. [1] Shameless plug: https://github.com/duneroadrunner/SaferCPlusPlus [2] https://github.com/duneroadrunner/SaferCPlusPlus-AutoTransla...
  6. …compared to ones written in C all that much. [0] https://github.com/foonathan/type_safe [1] https://github.com/duneroadrunner/SaferCPlusPlus
    comment by wuch · 2017-08-03 · in How I implemented my own crypto
  7. …in C++. And it's not much different from writing traditional (unsafe) C++ code. [1] shameless plug: https://github.com/duneroadrunner/SaferCPlusPlus
    comment by duneroadrunner · 2017-07-28 · in Metaclasses: Thoughts on generative C++
  8. …behavior while maintaining portability? [1] https://github.com/robertramey/safe_numerics [2] https://github.com/duneroadrunner/SaferCPlusPlus#safercplusp... [3] https://github.com/duneroadrunner/SaferCPlusPlus-AutoTransla... [4]…
    comment by duneroadrunner · 2017-07-26 · in Defining the Undefinedness of C (2015) [pdf]
  9. …be preferable in many cases, but there is a practical option of using C++ in a safe(r) way. [1] https://github.com/duneroadrunner/SaferCPlusPlus
    comment by duneroadrunner · 2017-07-16 · in Death to C, ++
  10. …available before long and we can gauge the interest of developers/maintainers. [1] shameless plug: https://github.com/duneroadrunner/SaferCPlusPlus
    comment by duneroadrunner · 2017-06-21 · in Important security vulnerabilities in OpenVPN
  11. …C++ code bases. The question is, would a borrow checker for C++ make sense? [1] shameless plug: https://github.com/duneroadrunner/SaferCPlusPlus
    comment by duneroadrunner · 2017-06-09 · in Rust Performance Pitfalls
  12. …var2--; free(var2 - 3); free(var1); :) [1] https://github.com/google/sanitizers [2] shameless plug: https://github.com/duneroadrunner/SaferCPlusPlus
    comment by duneroadrunner · 2017-04-13 · in The Safe C Library (2009)
  13. …maybe be functional in short order with a little extra motivated talent... :) [1] shameless plug: https://github.com/duneroadrunner/SaferCPlusPlus
  14. …shared_ptrs that automatically handle all the necessary locking (and blocking). [1] shameless plug: https://github.com/duneroadrunner/SaferCPlusPlus#asynchronou...
    comment by duneroadrunner · 2017-03-29 · in Thread Safety Analysis in Clang
  15. …that's notably missing from the standard library. [1] shameless plug: https://github.com/duneroadrunner/SaferCPlusPlus
    comment by duneroadrunner · 2017-03-25 · in C++ 17 is Done
  16. …the concept (but not yet the implementation) of "quarantined" types for untrusted input values. [1] https://github.com/duneroadrunner/SaferCPlusPlus#cint-csize_... [2] https://github.com/robertramey/safe_numerics
  17. …is in early development (but resources are limited so it might be a while). [1] shameless plug: https://github.com/duneroadrunner/SaferCPlusPlus
  18. …penalty are people be willing to accept in exchange for memory safety? [1] shameless plug: https://github.com/duneroadrunner/SaferCPlusPlus
  19. …safe substitutes (like std::string). So, if anyone's looking to kill some free time... :) [1] https://github.com/duneroadrunner/SaferCPlusPlus [2] https://github.com/duneroadrunner/SaferCPlusPlus-BenchmarksG...
  20. …array_view[1], gsl::span, or RandomAccessSection[2]). [1] https://github.com/rhysd/array_view [2] https://github.com/duneroadrunner/SaferCPlusPlus#txscoperand...
  21. …time. [1] https://doc.rust-lang.org/nightly/std/slice/ [2] https://github.com/rhysd/array_view [3] https://github.com/duneroadrunner/SaferCPlusPlus#txscoperand...
  22. And if you need a more expedient fix for existing C/C++ code, there's SaferCPlusPlus[1]. [1] https://github.com/duneroadrunner/SaferCPlusPlus
  23. …this (I mean, CloudFlare's) sort of situation - using C/C++ in internet facing applications. [1] https://github.com/duneroadrunner/SaferCPlusPlus
  24. …(while being modified) mse::TAsyncSharedReadWriteAccessRequester[2] is safer. [1] shameless plug: https://github.com/duneroadrunner/SaferCPlusPlus#reference-c... [2] https://github.com/duneroadrunner/SaferCPlusPlus#asynchronou...
    comment by duneroadrunner · 2017-02-07 · in In Defense of C++
  25. …are memory safe subsets of C++ that are comparable to Rust in usability and performance [1]. [1] https://github.com/duneroadrunner/SaferCPlusPlus#safercplusp...
    comment by duneroadrunner · 2017-02-07 · in In Defense of C++
  26. …would be quicker and require less effort than a rewrite in Rust. [1] for example (shameless plug): https://github.com/duneroadrunner/SaferCPlusPlus
    comment by duneroadrunner · 2017-02-07 · in In Defense of C++
  27. …memory safety (although not to quite the same degree as Rust's borrow checker.) [1] shameless plug: https://github.com/duneroadrunner/SaferCPlusPlus
    comment by duneroadrunner · 2017-01-19 · in Rust vs. Go
  28. …alternatives like Rust and SaferCPlusPlus[1] when those choices are available. [1] shameless plug: https://github.com/duneroadrunner/SaferCPlusPlus
    comment by duneroadrunner · 2017-01-16 · in Dovecot audit complete
  29. …And should be much more straightforward than these C to Rust/Go translators. [1] shameless plug: https://github.com/duneroadrunner/SaferCPlusPlus [2] https://github.com/duneroadrunner/SaferCPlusPlus-BenchmarksG...
    comment by duneroadrunner · 2017-01-04 · in Getting Past C
  30. …integers if their value is less than the square root of the max integer value. [1] shameless plug: https://github.com/duneroadrunner/SaferCPlusPlus [2] https://github.com/duneroadrunner/SaferCPlusPlus#quarantined...
    comment by duneroadrunner · 2016-12-29 · in Rust is mostly safety
  31. …there are shorter aliases available. Just search for "shorter aliases" in the header files.) [1] https://github.com/duneroadrunner/SaferCPlusPlus#tregistered...
    comment by duneroadrunner · 2016-12-29 · in Rust vs C Pitfalls
  32. > and so I'm stuck with C++ If you're stuck with C++, might as well do it safely: (shameless plug) https://github.com/duneroadrunner/SaferCPlusPlus
    comment by duneroadrunner · 2016-12-28 · in Rust vs C Pitfalls
  33. …much effect on the document. [1] https://news.ycombinator.com/item?id=12643463 [2] shamelss plug: https://github.com/duneroadrunner/SaferCPlusPlus
  34. …checking. But there are still situations when you'd want to use SaferCPlusPlus [1]. [1] https://github.com/duneroadrunner/SaferCPlusPlus#safercplusp...
  35. …Ultimately I decided minimal dependencies would be more appealing to the user. [1] shameless plug: https://github.com/duneroadrunner/SaferCPlusPlus
  36. …done completely incrementally, and much of it won't need to be changed at all. [1] shameless plug: https://github.com/duneroadrunner/SaferCPlusPlus
    comment by duneroadrunner · 2016-12-14 · in The Public Domain C Library
  37. …C++ code. [1] https://blogs.msdn.microsoft.com/vcblog/2016/03/31/c-core-gu... [2] shameless plug: https://github.com/duneroadrunner/SaferCPlusPlus
    comment by duneroadrunner · 2016-12-14 · in Divided by a common syntax
  38. …the code and flags violations, I would expect a lot of such code is only dynamically correct. > [2] https://github.com/duneroadrunner/SaferCPlusPlus#safercplusp... . A few points: - what do you mean by rebindable and non-rebindable…
  39. …get memory safety in step 1, and ii) all intermediate steps remain functional and memory safe. [1] https://github.com/duneroadrunner/SaferCPlusPlus [2] https://github.com/duneroadrunner/SaferCPlusPlus#safercplusp... [3]…
    comment by duneroadrunner · 2016-12-10 · in How to translate a large C project to Rust
  40. …[1] http://www.cvedetails.com/product/1526/SUN-JRE.html?vendor_i... [2] shameless plug: https://github.com/duneroadrunner/SaferCPlusPlus
    comment by duneroadrunner · 2016-11-28 · in Modern C [pdf]
  41. …layers of sandboxing/jailing and other security/correctness solutions. [1] shameless plug: https://github.com/duneroadrunner/SaferCPlusPlus [2] https://www.webtoolkit.eu/wt
  42. …way, with no dependency risk. (At the moment, standard library support is required though.) [1] https://github.com/duneroadrunner/SaferCPlusPlus
    comment by duneroadrunner · 2016-11-16 · in Rust and the Future of Systems Programming [video]
  43. …is as safe as Java these days. [1] I wonder which claim is more optimistic. :) [1] shameless plug: https://github.com/duneroadrunner/SaferCPlusPlus
  44. …bugs. For those times when you have to use C++, SaferCPlusPlus[1] should help. [1] shameless plug: https://github.com/duneroadrunner/SaferCPlusPlus
    comment by duneroadrunner · 2016-11-05 · in 2016 Rust Commercial User Survey Results
  45. …point out the inevitability of memory bugs in large enough C++ code bases. [1] shameless plug: https://github.com/duneroadrunner/SaferCPlusPlus
    comment by duneroadrunner · 2016-11-04 · in BearSSL – Smaller SSL/TLS
  46. SaferCPlusPlus[1]: C++. Memory safe. No GC. Quite fast. [1] shameless plug: https://github.com/duneroadrunner/SaferCPlusPlus
    comment by duneroadrunner · 2016-10-30 · in Sub-millisecond GC pauses in Go 1.8
  47. …debug builds. The sanitizers don't catch everything, but pretty close it seems. [1] shameless plug: https://github.com/duneroadrunner/SaferCPlusPlus
    comment by duneroadrunner · 2016-10-20 · in OpenSSL after Heartbleed
  48. …completely incrementally. What language has better "bidirectional C interoperability" than C++? [1] https://github.com/duneroadrunner/SaferCPlusPlus
  49. …conversion from C++ to SaferCPlusPlus. Q: What kind of skills do you need? A: C++ Link to GitHub: https://github.com/duneroadrunner/SaferCPlusPlus License(s): Boost
    comment by duneroadrunner · 2016-10-04 · in Ask HN: Who needs contributors? (October 2016)
  50. …The transition could be done incrementally and the performance would be better than, say, C#. [0] - https://github.com/duneroadrunner/SaferCPlusPlus (Note: shameless plug.)
    comment by duneroadrunner · 2016-09-26 · in OpenSSL Security Advisory - 26 Sep 2016