Skip to content

isidorostsa/RayTrayCpp2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RayTrayCpp2

RayTrayCpp2 is a Ray Tracing application written entirely using the experimental C++ alternative syntnax: Cpp2.

The goal of this personal project is to showcase and experiment with Cpp2. I am trying to make it as Cpp2-idiomatic as possible, though I think we are still discovering what that means.

Usage

To build this project you will need Modern CMake's cppfront Wrapper. You will need to provide the cppfront_DIR to CMake. I am currently using cppfront with the following flags:

  • -in to avoid modules for the time being
  • -no-s because disabling bounds-checking yielded a 20x speedup. Also currently it is not possible to index arrays in a consteval context, even when both the size of the array and the index are known constants.
  • Currently definitely lacks proper namespacing

Credits

About

A RayTracing Implementation written in C++2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages