π§βπ³ Peek behind the scenes and into the steaming pot of hot updates to Tact compiler, tooling, documentation and ecosystem
β‘οΈ You know what's cooking β Tact!
β¨οΈ Sources: github.com/tact-lang
π t.me/boost/tact_kitchen
Brought to you by the Tact team
Post #13
538

β‘οΈ 0. Cleared invalid return type from
If you've previously tried to assign it's results somewhere, it failed with an unwieldy FunC error. But now, the return type is cleared, so one more unreadable error got out of the way!
If you need its return value for some reason, take a look at Slice.preloadBits()
π§βπ³ Contributor: Gusarich
π Implementation: #388
π½ To be released in: v1.4.0
β‘οΈ 1. Added bitwise NOT
π§βπ³ Contributor: Gusarich
π Implementation: #337
π½ To be released in: v1.4.0
β‘οΈ 2. Added
They combine operations (
To this:
π§βπ³π Community contributor: Alejandbel
π Implementation: #350
π½ To be released in: v1.4.0
π² When cooking, make sure not to leave the trail of bits
β¨οΈ @tact_kitchen
Slice.skipBits()If you've previously tried to assign it's results somewhere, it failed with an unwieldy FunC error. But now, the return type is cleared, so one more unreadable error got out of the way!
If you need its return value for some reason, take a look at Slice.preloadBits()
π§βπ³ Contributor: Gusarich
π Implementation: #388
π½ To be released in: v1.4.0
β‘οΈ 1. Added bitwise NOT
~ operator// Let's flip some bits! (~ΛβΎΛ)~
let nice: Int = ~~~~42 + ~~~~27;
// ~(ΛβΎΛ~)
dump(nice);
π§βπ³ Contributor: Gusarich
π Implementation: #337
π½ To be released in: v1.4.0
β‘οΈ 2. Added
&=, |= and ^= operatorsThey combine operations (
&, |, ^) with an assignment, so that you can move from this:a = a & 01000101; // bitwise AND
b = b | 01000101; // bitwise OR
c = c ^ 01000101; // bitwise XOR
To this:
a &= 01000101;
b |= 01000101;
c ^= 01000101;
π§βπ³π Community contributor: Alejandbel
π Implementation: #350
π½ To be released in: v1.4.0
π² When cooking, make sure not to leave the trail of bits
β¨οΈ @tact_kitchen
- β‘ 6
