learnforpractice

Results 24 comments of learnforpractice

The performance of codon is truly impressive. However, for the long-term success of the project, I think it would be more beneficial to focus on ensuring compatibility and stability in...

> I'm asking that you make claims backed up by evidence, and link to that evidence. > > You claim that Codon is a general-purpose Python compiler, but it can...

Yes, I think it is fine to refer to Codon as a "Python compiler" despite its lack of full compatibility with CPython.

Use pickle module as the example shown below: ```python import gzip import pickle def read_test(): path = 'testjar.bin' jar = gzopen(path, 'rb') a = pickle.load(jar, List[byte]) print(a) jar.close() def write_test():...

Solutions: - Write a parser yourself if you know the codec format - Port a python library to codon. - Use a python library directly, as shown in these docs:...

If your goal is to optimize performance while making minimal modifications, there are alternative solutions available that you can consider: 1. Use mypy 2. Use pypy 3. Use cython 4....

Yeah, nice to meet you here! I just provided you with some suggestions to see if they align with your needs. Definitely, Codon is amazing, and it's a good idea...

This resource may be of assistance in resolving your issue: https://docs.exaloop.io/codon/advanced/build. It suggests using a forked llvm-project from exaloop for compiling llvm.

Google takes me here. Though it may be out of topic, I'd like to share my experience. In C++ Smart Contracts if you sort public_key vector directly, you will not...