Psilon
Psilon
It may be profitable to use https://github.com/dtolnay/cxx Of course it's early alpha but it may be the way from the dead end.
They shouldn't implement `Clone` trait since they work with raw pointers.
I compared Rust and Cpp versions and I found out that most of performance difference is branch misprediction. It also drastically changes from CPU to CPU becuase it relies on...
I'm writing my own `JsonConverter` which works perfectly, except for his erros being a bit cryptic. There is an API that allows converters to provide more information, specifially about the...
## Bug Description When running long tests on harhat network all transactions start failing and then it stalls. ## Reproducible By This snippet should do the trick: ```ts for (let...
Consider following contract ```solidity contract TypechainTest { struct Input { uint256 a; int128 b; bool c; } struct Output { uint256 d; int128 e; } function test(Input calldata input) public...
When importing `import "@0x/utils/blabla.sol";` there is an error: ```ts SyntaxError: An identifier or keyword cannot immediately follow a numeric literal. (4:19) 2 | /* tslint:disable */ 3 | /* eslint-disable...
Looking at code I found that you are performing UB conversion from primitive to enum https://github.com/ah-/anne-key/blob/ac02810007f55ee510d4c62d7d3ce9d6c54e7612/src/protocol.rs#L10-L35 ```rust #[repr(u8)] #[non_exhaustive] #[derive(Debug, Copy, Clone)] pub enum MsgType { Reserved = 0, Error...
This is an attempt to handle cancellation better. In a nutshell: you shouln't take a `CancellationTokenSource`. Source should be only created by a user and then it gives you a...
In many cases it's desirable to save generated code in repository. It's a common practice for binaries, see recomendation for different `lock` files in different ecosystems. It seems reasonable to...