bustub
tinyrenderer
Our great sponsors
bustub | tinyrenderer | |
---|---|---|
13 | 61 | |
3,666 | 19,346 | |
4.0% | - | |
8.5 | 0.0 | |
14 days ago | 6 months ago | |
C++ | C++ | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
bustub
-
Can we create a thread for some of the best materials on CS available online?
Introduction to Computing"
https://dcic-world.org/
# Programming Language Theory:
"Programming Languages: Application and Interpretation"
https://www.plai.org/
# Compilation:
"Essentials of Compilation: An Incremental Approach in Python"
https://github.com/IUCompilerCourse/Essentials-of-Compilatio...
# Database Systems:
"CMU: Intro to Database Systems"
https://15445.courses.cs.cmu.edu/
"CMU: Advanced Database Systems"
https://15721.courses.cs.cmu.edu/
# Calculus I/II & Real Analysis
"A Course in Calculus and Real Analysis"
https://link.springer.com/book/10.1007/978-3-030-01400-1
"A Course in Multivariable Calculus and Analysis"
https://link.springer.com/book/10.1007/978-1-4419-1621-1
# Linear Algebra & ML:
* A Series of books by prof. Joe Suzuki without using any external library for the implementations *
"Statistical Learning with Math and Python"
https://link.springer.com/book/10.1007/978-981-15-7877-9
"Sparse Estimation with Math and Python"
https://link.springer.com/book/10.1007/978-981-16-1438-5
"Kernel Methods for Machine Learning with Math and Python"
https://link.springer.com/book/10.1007/978-981-19-0401-1
# Discrete Mathematics:
"CMU 21-228 Discrete Mathematics (prof. Poh-Shen Loh"
https://www.math.cmu.edu/~ploh/2021-228.shtml
# Cryptography:
"Serious Cryptography: A Practical Introduction to Modern Encryption"
https://nostarch.com/seriouscrypto
# Problem Solving:
"Math 235: Mathematical Problem Solving"
https://www.cip.ifi.lmu.de/~grinberg/t/20f/
-
const/smart pointer confusions
The relevant classes are: https://github.com/cmu-db/bustub/blob/master/src/primer/trie.cpp and the header https://github.com/cmu-db/bustub/blob/master/src/include/primer/trie.h (you can look at the root github's repo README how to compile)
-
Any DSA resources that are NOT boring?
Take for example CMU's bustub DB. Great lecture material, but their own pedagogical database where you implement parts of the database.
-
The “Build Your Own Database” book is finished
This seems like a fairly shallow course: if you’re interested in some real awesome database hacking, I highly recommend bustub. It’s great and educational.
- 15-445 Projects source code
-
What's everyone working on this week (9/2023)?
Not a tutorial but I completed all the assignments for CMU Database System course (link) and watched all their youtube videos before I started it (I highly recommend it, it's a great course and it's possible to submit the solutions even if you're not a CMU student. The entry code to gradescope is in the FAQ). Though, what I do is not re-writing bustub in Rust, as bustub uses 2 phase locking to achieve transaction isolation, and this uses MVCC, pretty much like Postgres (though currently much simpler). I used this resource as a starting point how it works.
- The BusTub Relational Database Management System (Educational)
-
SimpleDB: A Basic RDBMS Built from Scratch
There is also BusTub from CMU which I stumbled upon earlier today:
https://github.com/cmu-db/bustub
-
Online courses to learn more about databases and the concepts taught in Week 7?
check this course from cmu
- C++ Project Ideas
tinyrenderer
-
How to Become a Software Engineer ?
C++: How OpenGL works: software rendering in 500 lines of code
-
From scratch OpenGL and shaders with raw Xlib
I don’t think that exists (I sure would like for it to), but until it does you could amuse yourself with:
- A 500-line (non-OpenGL-compatible) 3D rasterizer: https://github.com/ssloy/tinyrenderer/wiki.
- A “hello Wayland” app written in C without libwayland or anything else: https://gaultier.github.io/blog/wayland_from_scratch.html.
- A “hello X11” app written in x86-64 assembly(!) without libX11, libxcb, or anything else: https://gaultier.github.io/blog/x11_x64.html.
-
Tiny Compiler – Writing a Compiler in a Weekend
the tinyrenderer[1] project has been on my todos forever now. glad to see the author is writing more self-paced programming projects.
[1]: https://github.com/ssloy/tinyrenderer
-
Is there space in this field for extreme cases like mine ?
- Game development - Unity3D project based learning in C#: https://learn.unity.com/ - Graphics - There was another user on r/GraphicsProgramming the other day (who teaches Computer Graphics at his university) that linked their lecture series for the entry year of their course here: https://tamats.com/learn/realtime-graphics/ - Project based learning: https://github.com/ssloy/tinyrenderer/wiki - Rendering API tutorials: https://vulkan-tutorial.com/, https://learnopengl.com/
-
How do I become a graphics programmer? – A guide from AMD Game Engineering team
There are a couple of excellent resources out there for implementing 3D rendering from scratch.
On that I cannot recommend enough is this github repo:
https://github.com/ssloy/tinyrenderer/wiki/Lesson-0:-getting...
If you are more of a visual learner, this guy is also a treasure trove:
https://www.youtube.com/watch?v=ih20l3pJoeU
-
Ask HN: What books or courses do you know similar to "From Nand to Tetris"?
Other people have mentioned ray-tracing in one weekend
If anyone is really interested in graphics I would also recommend TinyRenderer
https://github.com/ssloy/tinyrenderer/wiki
This one is a CPU-based rasterizing renderer
Its good if you want to get a good understanding of what a GPU does underneath
-
Trying to learn wgpu
I was in a similar position to you, and I first did this https://github.com/ssloy/tinyrenderer/wiki
- Where do I start learning graphics programming?
-
Recommendation for graphics experimentation project
Yes, my thoughts exactly, shader!=program on GPU. It's just a code which calculates pixel color or pixel position. See for example this: https://github.com/ssloy/tinyrenderer/blob/master/main.cpp. It's not GLSL or anything uploadable to GPU yet it's still a shader.
-
I have a few months to prepare for an interview. Is there a project that would get me at least part of the way there for the interview?
In terms of a project which would be worthwhile, I think building a software rasterizer from scratch is a useful first step. TinyRenderer is a great place to start. Looking at the high level overview of many graphics subjects, ScratchAPixel is a valuable resource. Theres also just great information in some of the rote graphics programming textbooks (Michael Abrash's Black Book fully available online from Jason Gregory, and this book is really interesting). The "RayTracer in a weekend" series is also (seemingly) very illuminating (no pun intended).
What are some alternatives?
prql - PRQL is a modern language for transforming data — a simple, powerful, pipelined SQL replacement
sokol - minimal cross-platform standalone C headers
ClickHouse - ClickHouse® is a free analytics DBMS for big data
raylib - A simple and easy-to-use library to enjoy videogames programming
toydb - Distributed SQL database in Rust, written as a learning project
BodySlide-and-Outfit-Studio - BodySlide and Outfit Studio, a tool to convert, create, and customize outfits and bodies for Bethesda games.
LevelDB - LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.
deko3d - Homebrew low level graphics API for Nintendo Switch (Nvidia Tegra X1)
dbdoc - Document your database schema, because your team will thank you, and a single text file makes it easy. Works well with PostgreSQL and others.
Pangolin - Pangolin is a lightweight portable rapid development library for managing OpenGL display / interaction and abstracting video input.
MongoDB - The MongoDB Database
3d-game-shaders-for-beginners - 🎮 A step-by-step guide to implementing SSAO, depth of field, lighting, normal mapping, and more for your 3D game.