This commit is contained in:
parent
bdea14fc20
commit
fb2f6079cc
16 changed files with 508 additions and 9 deletions
|
|
@ -19,10 +19,23 @@ export namespace Catcrafts {
|
|||
std::string content;
|
||||
};
|
||||
std::vector<BlogPost> posts {
|
||||
{
|
||||
"Hello World! 2?",
|
||||
"hello-world-2",
|
||||
"2026-07-18",
|
||||
R"(So this blog has been mega dead but today i bring something exciting that was already released months ago but never deployed xd.
|
||||
|
||||
Crafter.CppDOM is dead, long live Crafter.Graphics!
|
||||
|
||||
This website is now updated to use the new Crafter.Graphics library, which allow for C++ manpiulation of the DOM, and as a new feature WebGPU!
|
||||
|
||||
And what better way to flex WebGPU than ray tracing? Here's a little scene traced live in your browser, shadows and all, straight from the same C++ compiled to WASM that rendered this very post:
|
||||
)"
|
||||
},
|
||||
{
|
||||
"In WASM, Exit doesn't mean done.",
|
||||
"in-wasm-exit-doesnt-mean-done",
|
||||
"2026-11-14",
|
||||
"2025-11-14",
|
||||
R"(So if anyone looked at the source code for this website pefore this post you would have seen that everything was allocated with new, for example this very blog was defined as <code>std::vector<BlogPost> posts = new std::vector<BlogPost>{...};</code><br><br>
|
||||
|
||||
Reason for this was that everything became corrupted when callbacking from JS, not knowing sure as to why this was the fastest solution, but after debugging the problem became clear.<br><br>
|
||||
|
|
@ -40,7 +53,7 @@ export namespace Catcrafts {
|
|||
{
|
||||
"Hello World!",
|
||||
"hello-world",
|
||||
"2026-11-12",
|
||||
"2025-11-12",
|
||||
R"(Welcome to catcrafts.net!<br><br>
|
||||
Here we believe optimization is everything and C++ is a gift from god.<br>
|
||||
This blog will mostly be dedicated to random tidbits i come across while working on my Crafter series of libraries.<br><br>
|
||||
|
|
|
|||
Loading…
Reference in a new issue