In theory ? yes but you would not want to do that
First of all the easiest way to do this, is embed smalltalk inside blender, this is how blender does it with python it embeds cpython 3 and that gives immediately several issues a) Pharo is not embedable and neither is Squeak , so you cant use Pharo which is bad at least for me. b) Even if there is a Smalltalk out there than can be embedded, how reliable is it ? Cpython has decades in its back of embedding inside C and C++ applications and loads of them. c) Are you ready to maintain any bugs that will arise ? Bare in mind that cpython is deeply hooked inside Blender. This is no small API we talking here around 10k methods at least. Plus you will lose the ability to use any existing blender addon and blender python library and believe me there is tons of them that are useful. d) Are you ready to maintain 1.000.000 lines of code because they only way to embed a smalltalk inside blender is to fork Blender, that means that you have to keep up with dozens of commits each day and an extremely active community also you need serious knowledge on all the area of Blender and deep knowledge about the mathematics and physics of 3d graphics. e) wait you want to use as a pharo library ? see (c) and (d) Ephestos is not just about controlling and manipulating blender. Its about taking full advantage of both python and the blender python api and even take advantage of existing addons and existing python libraries. The cool thing about Ephestos the fact that is API agnostic , may annoy some people because they dont see API pharo objects , but at the same time it means that if I abandone Ephestos right now it will continue to function without a problem for years even if the API of Blender deeply change. While on the other hand the moment you wrap the C code (embeding or extending Pharo with it) you need to keep up with any change in Blender source and thats is a lot of work. The main problem is that Blender is too big to throw away python. The Blender Python API has been developed mostly by a single developer but he is a full time paid developer with over a decade of contributions to the API. You question is not idiotic at all, its a valid question with some good benefits. I have seen at least one thread talk about lua used in place of python, but it ended up coming down to my above points. Its too much effort for little gain. I know that are people that dont want to learn python and the Blender python API or Blender and thats ok for me. I make Ephestos mostly for my needs. But for those that do manage to take the steep learning curve Blender and Ephestos will offer a power and flexibility that no Pharo library can offer at this moment and I dont think this will change any time soon. Learning python is very easy, learning the Blender API and Blender takes time. Please note that you can still do tons of stuff with Ephestos without writing a line of code in python. But you still need to understand Python and Blender API to do useful stuff. Ephestos is the blue pill but like for Neo , it comes with a big price ;) On Sun, Sep 21, 2014 at 1:21 PM, Hilaire <[email protected]> wrote: > Le 20/09/2014 22:16, kilon alios a écrit : > > This is 0.1 the first stable release of Ephestos. This release contains > the > > following > > Cool. > Is using direct Smalltalk language to control the Blender scene a > possible perspective? I mean without going throught an intermediate > Python parsing. > I don't know Blender, so my question may look idiot. > > Hilaire > > -- > Dr. Geo - http://drgeo.eu > iStoa - http://istao.drgeo.eu > > >
