TGViewer
Tact Kitchen Tact Kitchen @tact_kitchen · 505 subscribers
Post #13 538
⚡️ 0. Cleared invalid return type from 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 ^= operators

They 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
More from @tact_kitchen
  1. May 30, 2025🎉 Tact Language Server & VS Code Extension v0.8.0 are live! Smarter code insight, TL-B su…
  2. May 28, 2025🎉 Tact v1.6.12 is released! This is another joint release: both v1.6.11 and v1.6.12 were…
  3. May 22, 2025We’ve launched the ultimate hunt for bugs and hacker mastery — the epic CTF has begun at p…
  4. May 19, 2025🎉 Tact v1.6.10 is released! Recently, TVM version 10 was rolled out in the mainnet. It in…
  5. May 7, 2025For you all, JetBrains IDEs lovers: intelli-tact plugin release 📸 🍲 got IDEA? ♨️ @tact_k…
  6. May 7, 2025🎉 Tact v1.6.7 is released! We've been listening to your feedback and analyzing the code w…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →