Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port Benchmarks to C with Boehm GC #22

Open
smarr opened this issue Jul 17, 2016 · 1 comment
Open

Port Benchmarks to C with Boehm GC #22

smarr opened this issue Jul 17, 2016 · 1 comment

Comments

@smarr
Copy link
Owner

smarr commented Jul 17, 2016

Main challenge are the few polymorphic elements for instance in DeltaBlue.

@smarr smarr added this to the next milestone Jul 17, 2016
@rochus-keller
Copy link

rochus-keller commented Aug 20, 2024

In case you're intereseted: here is a native version of the benchmark suite in C with conventional memory management (i.e. not using Boehm): https://github.com/rochus-keller/Are-we-fast-yet/tree/main/C.

The performance is very close to my C++ version (about 2% slower).

Concerning the postulated C version with Boehm: not sure if you are aware that my Oberon+ has a C99 transpiler which can generate a C99 version of my Oberon+ Are-we-fast-yet version using Boehm; here is the generated source code: http://software.rochus-keller.ch/awfy_c99_benchmark.tar.gz. I compared it with the forementioned native C99 version, with the latter only ~20% faster.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants