MikePopoloski / slang

SystemVerilog compiler and language services
MIT License
546 stars 114 forks source link

Port Python bindings to nanobind #951

Closed MikePopoloski closed 3 weeks ago

MikePopoloski commented 1 month ago

Should be faster compile times and runtimes, but need to check if we're limited by the lack of multiple inheritance.

MikePopoloski commented 3 weeks ago

I took a look at this; it's too large a lift right now given that nanobind doesn't support our style of multiple inheritance. We don't actually need to expose the multiple inheritance to Python so I think it could be made to work but would need a few small tweaks to nanobind and it's not worth the effort.