64 bit arithmetic soft fork

Posted by rustyrussell

Jan 12, 2024/16:22 UTC

The discussion opens with the opinion that the modal hack is not an optimal solution and suggests that new opcodes should be developed. These new opcodes would ideally handle unsigned numbers exclusively, thereby simplifying their implementation and use. Additionally, there is a clear preference expressed for increased precision within these opcodes, as the current 64-bit standard may be insufficient in certain contexts, especially when compared to the limitations posed by a 31-bit system in handling larger numerical amounts.

Another point of consideration is the potential reactivation of specific operations such as multiplication (MUL), left shift (LSHIFT), and substring extraction (SUBSTR). The implications and interactions of reintroducing these operations need to be thoroughly examined to ensure they can be effectively integrated without causing unforeseen issues.

For those interested in exploring the subject further, the author has provided a link to an informative resource that delves into the topic of arithmetic opcodes. This resource, which can be found at https://rusty.ozlabs.org/2023/12/30/arithmetic-opcodes.html, offers a more detailed analysis and could serve as a valuable reference for anyone considering the proposed changes or seeking a deeper understanding of the intricacies involved in opcode development and application.

Link to Raw Post

Thread Summary (52 replies)

Jan 10 - Jun 20, 2024

Bitcoin Logo

TLDR

Join Our Newsletter

We’ll email you summaries of the latest discussions from authoritative bitcoin sources, like bitcoin-dev, lightning-dev, and Delving Bitcoin.

Explore all Products

ChatBTC imageBitcoin searchBitcoin TranscriptsSaving SatoshiBitcoin Transcripts Review
Built with 🧡 by the Bitcoin Dev Project
View our public visitor count

We'd love to hear your feedback on this project?

Give Feedback