From twitter 

Feel like setting up my stream and livestreaming some "gamedev" C++ and maybe some Rust (read: fighting to get my engine working again from the middle of a major refactor)
Hopefully live in about an hour? Doing some digital housekeeping first.
twitch.tv/cad97

From twitter 

πŸ‘ C++20 has char8_t, std::u8string[_view] for guaranteed-UTF-8 strings
πŸ‘Ž Even the STL only provides functionality for working with char, std::string[_view] and sometimes wchar_t/std::wstring[_view] (e.g. std::from_chars, std::format), so you have to leave u8string constantly

And now my C/C++ bindings to @zkat's kdl-rs are no longer segfaulting in normal (readonly for now) use πŸŽ‰ (It was linker issues)
Now to write some docs
github.com/CAD97/kdlxx

I want to use KDL instead of XML in my hobby engine which is currently in C++ (because of where it comes from) and did not feel like trying to write a parser in C++, so decided to handwrite bindings instead, and got something mostly functional. Hopefully fully functional once I figure out the stride bug.

Show thread

I now have working* C/C++ bindings to @zkat's kdl crate

*for child slice lengths of one, as any longer currently segfaults

A good day's work

From twitter 

Just casually posting a -1/+8 patch to fix a 2013 @rustlang@twitter.com std issue, nbd

github.com/rust-lang/rust/issu

From twitter 

I have written a C++ templated function (to replace a macro) that the MSVC compiler accepts but the VS2022 intellisence engine fails to resolve

I would say I found a bug, but this is C++, it's probably ill-formed (no diagnostic required) to have an empty template parameter pack

From twitter 

I have had a very interesting idea for my toy language design. One that is unquestionably ugly, but is still very interesting design-wise.

Do you like Objective C and [code in square brackets]?

TL;DR types are writ [Type], so an array of type [T] and length 5 is [Array([T], 5)]

From twitter 

One last bit of salt.
It's not AA's fault I didn't fly; the plane had a mechanical issue.
It's absolutely AA's fault we got strung along for so long including boarding a second plane and almost reaching takeoff before that plane was also grounded.
I'm just tired more than upset.

From twitter 

Congratulations, I woke up when RustConf ended

:(

From twitter 

The new winget supports portable apps now, so I expect Rust apps to start getting winget packages once they start accepting them into the core repo (if they're published on the other package managers anyway)

From twitter 

I have just finished the 2 day drive back to TX (where grad school is) from SC (where family is) so... time to fly to @rustconf@twitter.com! (fly tomorrow. rest today.)

(I'm so excited to get to go in person this year, and the date worked out amazingly for me this time)

From twitter 

Just playing around with cursed Rust snippets and accidentally stumble into a trait system soundness hole πŸ™ƒ

From twitter 

"I would have submitted a PR but my power just went out" --me

Guess it can wait. Predicted to come back on overnight.

From twitter 

Normally I'm perfectly happy with @rustlang@twitter.com's closure syntax. Today, though, it threw me for a quick loop.

From twitter 

Normally I'm perfectly happy with @rustlang@twitter.com's closure syntax. Today, though, it threw me for a quick loop.

From twitter 

Thank you rustc very cool, I will indeed replace the code with itself to fix the error

(github.com/rust-lang/rust/issu)

From twitter 

I decided it'd be fun to write automatic completions for @rustlang@twitter.com clap apps, and @GitHubCopilot@twitter.com's suggestions for what shells to support are interesting -- @nu_shell@twitter.com has been recognized by our robotic overlords πŸ˜€

From twitter 

Lukewarm take: these problems are isomorphic :)

RT @eigenbom@twitter.com

The biggest challenge in software is to make a new __________.

πŸ¦πŸ”—: twitter.com/eigenbom/status/15

From twitter 

So winget stole my rustup install and rustup got reasonably upset, so I'm trying to uninstall to clean up but

error: could not remove 'rustup_home' directory: 'D:\.rust\rustup': Access is denied. (os error 5)
... probably because I'm running
D:\.rust\cargo\bin\rustup.exe

Show older
Octodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!