FutureAIGuru / BrainSimII

Neural Simulator for AGI research and development
http://brainsim.org
MIT License
87 stars 25 forks source link

Add Linux Version #23

Open FutureAIGuru opened 3 years ago

FutureAIGuru commented 3 years ago

There is presently a version of the Neuron Engine which runs under Linux. It is in a separate project HERE: https://github.com/Moorelife/AGILE_ONE

Better academic distribution if the entire system ran under Linux as well.

This might be possible under xamarin development

ghost commented 3 years ago

At the core of Xamarin (an IDE) is MONO, which is an open source multi-platform Cross platform, open source .NET framework implementation. It is officially supported by Microsoft. https://www.mono-project.com/docs/getting-started/mono-basics/ And since Mono is under MIT license too, it fits with Brain Simulator II's open source nature.

ghost commented 3 years ago

Found this page on porting a WinForms application to Xamarin: https://docs.microsoft.com/en-us/xamarin/cross-platform/desktop/porting

ghost commented 3 years ago

Portability Analysis indicated .NET Core is a viable porting target: 20210731_113649

ghost commented 3 years ago

Executed "upgrade-assistant upgrade BrainSimulator.sln" after installing the upgrade-assistant from https://github.com/dotnet/upgrade-assistant#installation. Basically let the upgrade-assistant do its stuff by following all default steps. Building the upgraded solution gave the following errors and warnings: 20210731_122023

ghost commented 3 years ago

And then we hit a snag: since Brain Simulator II uses the Windows speech synthesis and speech recognition, about 135 warning about non-portability keep us from success.

FutureAIGuru commented 3 years ago

Actually, this looks like real progress! Why not just exclude the speech-related modules from the project and try again. It shouldn’t be difficult at all to have a linux version of speech modules since the underlying interface is a standard (SAPI). There is a likely a SAPI-compliant speech engine for Linux…and it might be better than the Windows one.

ghost commented 3 years ago

Always possible yeah, then the only thing remaining is the need to find the installation folder to load the ModuleDescriptions.xml without using the registry. Should be doable...