3 Dec 2023 |
soupslurpr | * The saca-k Rust port compiles but it errors with some subtraction overflow or other things when trying to use it. Which is expected because I didn't really get some of the C++ code so I probably did it wrong | 12:27:49 |
lberrymage | Yeah like I said, it's tricky and non-trivial to port | 19:15:44 |
soupslurpr | In reply to @lberrymage:matrix.org Yeah like I said, it's tricky and non-trivial to port https://c2rust.com/ | 21:27:27 |
soupslurpr | This might have just made it 95% easier, I think it actually generated valid code | 21:28:02 |
lberrymage | It does but it's not safe Rust | 21:28:27 |
soupslurpr | Shouldn't be difficult to convert? | 21:28:39 |
lberrymage | In reply to @soupslurpr:matrix.org Shouldn't be difficult to convert? It may require non-obvious modifications to adhere to Rust's memory semantics | 21:29:00 |
lberrymage | For example, C allows mutable and immutable references to the same object | 21:29:22 |
lberrymage | Rust doesn't, even in unsafe Rust | 21:29:30 |
lberrymage | It's UB | 21:29:32 |
soupslurpr | Hmm OK I'll check the code and see | 21:29:46 |
idkrnx | In reply to @lberrymage:matrix.org Rust doesn't, even in unsafe Rust based | 21:39:25 |
idkrnx | In reply to @lberrymage:matrix.org For example, C allows mutable and immutable references to the same object this is great for getting bug bounties | 21:39:55 |
| 🏔️hik changed their profile picture. | 22:38:46 |
4 Dec 2023 |
soupslurpr | SA[bkt[s[j]]--]=j;
Anyone know what this C++ code does? Is it subtracting after or before the assignment
| 02:41:24 |
soupslurpr | Redacted or Malformed Event | 02:41:47 |
soupslurpr | I think its subtracting after, right? Seems the C2Rust transpilation also does that | 02:43:45 |
lberrymage | In reply to @soupslurpr:matrix.org I think its subtracting after, right? Seems the C2Rust transpilation also does that Yes | 02:52:41 |
lberrymage | Prefix operators apply before the statement, postfix operators apply after | 02:53:26 |
soupslurpr | ok good thanks for the confirmation | 03:01:05 |
soupslurpr | I just wasn't sure in that case | 03:01:15 |
| regalia joined the room. | 06:35:46 |
| Yusuf🇯🇴 changed their display name from Yusuf to Yusuf🇯🇴. | 09:46:45 |
blicero | Does the molly version on Accrescent have unified push support? | 11:39:39 |
matchboxbananasynergy! | It does not. It's Molly-FOSS | 11:49:06 |
hectour | In reply to @matchboxbananasynergy:matrix.org It does not. It's Molly-FOSS Do you know if there are plans to release the non-foss version on Accrescent? | 12:39:11 |
matchboxbananasynergy! | In reply to @fgfhmnrtry4r4t:matrix.org Do you know if there are plans to release the non-foss version on Accrescent? This is currently not possible because both the non-FOSS and FOSS versions have the same app ID | 12:41:08 |
matchboxbananasynergy! | You can't upload different variants with the same app ID to Accrescent | 12:41:17 |
matchboxbananasynergy! | That said, I believe Molly might eventually merge the multiple variants into one option | 12:41:33 |
| lberrymage banned @donniedarkened:hackliberty.org. | 20:14:38 |