realm-object-server icon indicating copy to clipboard operation
realm-object-server copied to clipboard

Do you have an official docker image for RMP?

Open TofPlay opened this issue 9 years ago • 6 comments

Hi, Do you have an official docker image for RMP?

TofPlay avatar Nov 08 '16 15:11 TofPlay

Hi @TofPlay,

We don't have an official Docker image, just yet. This is in the works, but considering that we provide packages for Ubuntu, and that cooking your own Docker image is fairly easy, we've decided to prioritise features in the product rather than packaging. I hope this is understandable.

teotwaki avatar Nov 15 '16 13:11 teotwaki

@teotwaki thanks for your answers. A package for Ubuntu it's fine too 🙂

we've decided to prioritise features in the product rather than packaging. I hope this is understandable.

No problem with me 🙂

Speaking of features correct me if I am wrong. From what I saw RMP is developed in javascript with Nodes. With no less than 135 dependencies! 😨 Have you take a look on Swift on Ubuntu? Even if the swift on server is young according to what I saw on Internet it already offers interesting performances. Do you not thing that Swift server could be a good candidat for RMP?

TofPlay avatar Nov 15 '16 19:11 TofPlay

Actually, the biggest part of the ROS (Realm Object Server) is written in C++. We only use Node.js to provide the UI, and the REST API. Everything else is C++ (the actual client connections and merging and stuff).

This being said, we're always looking at other frameworks, as any good organisation should, and studying whether it would make more sense in one way or another. I'll have to take a closer look at Swift on Linux, though I know some people in our organisation have been using it pretty successfully.

I don't know what the level of support of Swift is for CentOS/RHEL 6 & 7, and that would be the biggest showstopper for us. The problem is that this kind of topic is ripe for debate. I'd use Python or Rust (or both? :thinking:), others would use Haskell, others would recommend Go or Dart, etc. Everyone's got an opinion on the matter, which is why I think we'll keep that discussion internal :P.

Just for the sake of satisfying my curiosity, @TofPlay, why would you recommend Swift in particular? As opposed to going full C++, or Go, or ?

teotwaki avatar Nov 16 '16 12:11 teotwaki

Just for the sake of satisfying my curiosity, @TofPlay, why would you recommend Swift in particular? As opposed to going full C++, or Go, or ?

@teotwaki I know well C++ I developed 15 years with it. It's a good language. On the other hand, it takes time to master it. And the developer must be very rigorous otherwise the sources quickly become spagetti code. Having a multi-platform code in C++ it's possible but not all the time clean. If the code has not been written properly it can quickly become the hell to do the maintenance. Unlike other languages C++ has not changed much. Its syntax is increasingly obscure. Swift is a young language. It picked up what was good in other languages and added features of his own. Its syntax is clear and easy to read. (This is important for code maintenance). At the performance level, even his young, it's already better than scripted languages like Python and Ruby, as well as compiled languages like Rust and Go. Swift also evolves very quickly thanks to an active community. And since Apple made it open source it comes out of the purely Apple environment. It was even questioned at one point that Google uses it for Android. Apple has done a great job with this language. Since it is open source everyone can enjoy it. It would be a shame not to do so. 😋

TofPlay avatar Nov 17 '16 19:11 TofPlay

I understand where you're coming from. Just for reference, the Realm team has roughly 100 years of combined C++ experience. I also take offense (not really, just a figure of speech :P) with the notion that C++ hasn't changed much; modern C++ (aka, C++11 or 14) is a very, very different beast from the C++ people wrote just 10 years ago.

This being said, I appreciate your candour. I'll look into Swift on Linux more closely in the coming weeks. Thanks for the input!

teotwaki avatar Nov 18 '16 09:11 teotwaki

this would be a plus for me

spunkedy avatar Jun 12 '17 15:06 spunkedy