Show HN: Pip Imports in Deno
21–30 of 46 posts
Re: Show HN: Pip Imports in Deno
#22The organization name "denosaurs" very roughly works for a combination of deno and python too: snakes fall into the clade of Lepidosaurs. Dinos are Archosaurs. I wonder if there's another programming language featuring a reptile. What's this "Lizard" language Duckduckgo's telling me about?
Re: Show HN: Pip Imports in Deno
#23Re: Show HN: Pip Imports in Deno
#24This is awesome and the right level of cursed! Reminds me of PythonMonkey, which provides really high level bindings to SpiderMonkey in Python. It ships as both a pip package and a standalone js runtime, the latter of which is very similar to this project! https://github.com/Distributive-Network/PythonMonkey#pythonm...
Re: Show HN: Pip Imports in Deno
#25Re: Show HN: Pip Imports in Deno
#26The organization name "denosaurs" very roughly works for a combination of deno and python too: snakes fall into the clade of Lepidosaurs. Dinos are Archosaurs. I wonder if there's another programming language featuring a reptile. What's this "Lizard" language Duckduckgo's telling me about?
Its users are even called Ziguanas.
Re: Show HN: Pip Imports in Deno
#27Is there an equivalent for Node? I'm glad I haven't needed it since, but I couldn't find anything nearly so seamless when I last looked.
Re: Show HN: Pip Imports in Deno
#28So you can now shoot yourself in the foot with both Python and JavaScript package management?
Re: Show HN: Pip Imports in Deno
#29Re: Show HN: Pip Imports in Deno
#30Is there an equivalent for Node? I'm glad I haven't needed it since, but I couldn't find anything nearly so seamless when I last looked.
why can't you just exec a python shell command to do the same thing? i'm actually slightly puzzled that "FFI" is its own thing when every language has a way to exec shell commands
But if you want to call some python functions with your TS input then you would need to serialize the TS input, pass it as an arg to the script, there deserialize it and then call the python function with the input. And if you wanted to call multiple python functions then your first arg to the python script would need to be the name of the function, only then the serialized data. Plus you would need to implement a switch case on the python side to execute the right function.