!yPBFTUHnMADWXaeLdg:matrix.org

Accrescent

618 Members
Main room for the Accrescent app store. Primarily intended for questions, suggestions, and development/design discussion. https://accrescent.app. Join #accrescent-space:matrix.org for the space, #accrescent-offtopic:matrix.org for off-topic discussions, and #accrescent-announcements:matrix.org for announcements.63 Servers

Load older messages


SenderMessageTime
3 Dec 2023
@soupslurpr:matrix.orgsoupslurpr * 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 wrong12:27:49
@lberrymage:matrix.orglberrymageYeah like I said, it's tricky and non-trivial to port19:15:44
@soupslurpr:matrix.orgsoupslurpr
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:matrix.orgsoupslurprThis might have just made it 95% easier, I think it actually generated valid code21:28:02
@lberrymage:matrix.orglberrymageIt does but it's not safe Rust21:28:27
@soupslurpr:matrix.orgsoupslurprShouldn't be difficult to convert?21:28:39
@lberrymage:matrix.orglberrymage
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:matrix.orglberrymageFor example, C allows mutable and immutable references to the same object21:29:22
@lberrymage:matrix.orglberrymageRust doesn't, even in unsafe Rust21:29:30
@lberrymage:matrix.orglberrymageIt's UB21:29:32
@soupslurpr:matrix.orgsoupslurprHmm OK I'll check the code and see21:29:46
@idkrnx:matrix.orgidkrnx
In reply to @lberrymage:matrix.org
Rust doesn't, even in unsafe Rust
based
21:39:25
@idkrnx:matrix.orgidkrnx
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:kde.org🏔️hik changed their profile picture.22:38:46
4 Dec 2023
@soupslurpr:matrix.orgsoupslurpr
SA[bkt[s[j]]--]=j;

Anyone know what this C++ code does? Is it subtracting after or before the assignment

02:41:24
@soupslurpr:matrix.orgsoupslurprRedacted or Malformed Event02:41:47
@soupslurpr:matrix.orgsoupslurprI think its subtracting after, right? Seems the C2Rust transpilation also does that02:43:45
@lberrymage:matrix.orglberrymage
In reply to @soupslurpr:matrix.org
I think its subtracting after, right? Seems the C2Rust transpilation also does that
Yes
02:52:41
@lberrymage:matrix.orglberrymagePrefix operators apply before the statement, postfix operators apply after02:53:26
@soupslurpr:matrix.orgsoupslurprok good thanks for the confirmation03:01:05
@soupslurpr:matrix.orgsoupslurprI just wasn't sure in that case03:01:15
@confess:matrix.orgregalia joined the room.06:35:46
@kyusufg:matrix.orgYusuf🇯🇴 changed their display name from Yusuf to Yusuf🇯🇴.09:46:45
@blicero:matrix.orgbliceroDoes the molly version on Accrescent have unified push support?11:39:39
@matchboxbananasynergy:matrix.orgmatchboxbananasynergy!It does not. It's Molly-FOSS11:49:06
@fgfhmnrtry4r4t:matrix.orghectour
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:matrix.orgmatchboxbananasynergy!
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:matrix.orgmatchboxbananasynergy!You can't upload different variants with the same app ID to Accrescent12:41:17
@matchboxbananasynergy:matrix.orgmatchboxbananasynergy!That said, I believe Molly might eventually merge the multiple variants into one option 12:41:33
@lberrymage:matrix.orglberrymage banned @donniedarkened:hackliberty.org@donniedarkened:hackliberty.org.20:14:38

There are no newer messages yet.


Back to Room ListRoom Version: 6