Javascript, python and rust development in freebsd reddit / BSD ---------------------------------------------------------------------- russellb23 · 2018-09-25 16:03 Folks, I am new to BSD. Just starting, after having lived with Linux for ~15 years. I mainly develop using python, JavaScript and rust. I use vim for all my development. How likely that I would be facing challenges in getting libraries, applications etc., using freebsd. I can switch to any of the BSD not just, freebsd. Your suggestions appreciated. ---------------------------------------------------------------------- reebs12 · 2018-09-25 16:11 Is there a particular reason you want to switch? Or is it just to try BSD out? You could try it in VirtualBox and see how you get on before installing it. ---------------------------------------------------------------------- russellb23 · 2018-09-25 16:20 I am a freelancer and my developments are mostly getting deployed on BSD servers. That's why. ---------------------------------------------------------------------- reebs12 · 2018-09-25 16:23 Just try it out in virtual Box? That should be ok. Normally when I compile code or run python scripts on FreeBSD it complains a bit, but after a few adjustments, it works fine. ---------------------------------------------------------------------- icantthinkofone · 2018-09-25 16:48 I have been running a web dev company for 15 years including two well known sites you likely have been to and a hundred or so smaller ones. We have been using FreeBSD exclusively for everything we do. FreeBSD will not hold you back in any way and anything you did on Linux you can do here. Fun fact: Apache and nginx both have roots in FreeBSD. ---------------------------------------------------------------------- icantthinkofone · 2018-09-25 16:59 We run C, Go, Python and PHP and don't have any issues with any of them complaining so I don't get your issue. ---------------------------------------------------------------------- deux3xmachina · 2018-09-25 17:21 It's unlikely you'll run into many issues with those particular ecosystems, especially if you're deploying to a BSD platform, use that as your dev setup. Just be sure you look into `jail(8)`, way better than Linux "containers" especially when combined with ZFS datasets. Then you can effectively install whatever tools you want in your dev jails without risk of screwing up your host environment. Also, you may want to watch "BSDNow" to help keep up with things in the BSD world, and don't forget to hop in whichever BSD's IRC channel at least, so you have quicker support available when you run into issues. ---------------------------------------------------------------------- reebs12 · 2018-09-25 18:59 sorry, i mean when i write programs on GNU and then I run them on BSD: more often than not i get minor issues such as encoding or gmake instead of make or whatever ---------------------------------------------------------------------- Xerxero · 2018-09-25 21:58 Well it depends on what is better in the container discussion. I mean I like jails but the simplicity of getting a simple image off hub and run it has its perks. Or run a docker image on an aws cluster. Would be awesome if I could do that with jails. But to separate services on your machine is where jails shines. So having docker running in a kinda of OS X way (with xhyve or bhyve) would be a great boost for freebsd usability ---------------------------------------------------------------------- maxfromua · 2018-09-26 00:12 Curious- how do you do cross-platform and cross-browser testing? The most painful are IE and Safari, not available on FreeBSD. ---------------------------------------------------------------------- icantthinkofone · 2018-09-26 00:16 We run Windows in a VM (bhyve or virtualbox) and we have Macs. ---------------------------------------------------------------------- russellb23 · 2018-09-26 01:16 Neither they do available on Linux. One more thing is, recent security vulnerabilities "spec" in Linux. Hope to find some peace with BSD. ---------------------------------------------------------------------- deux3xmachina · 2018-09-26 09:14 Well, if you're worried about security, I'd argue that jails win over Docker/LXC every time, since they were designed with security as the primary constraint from the start. It'd be nice to get newer docker available so they can be used inside of jails like you would with Linux, but with OP's stated use case, I don't see that being a sihnificant hurdle. I guess the real "sweet spot" would be Illumos Zones, but that's learning a totally different OS than OP would be deploying on for debatable benefit. All that said, there's no reason a jail couldn't be distributed as a `zfs send` stream with a suggested amendment to your `jail.conf(5)`, still not quite as nice as the docker images, but pretty close, and easy to do if you do per-jail datasets ---------------------------------------------------------------------- Freeky · 2018-09-30 00:15 I've seen some modest breakage with a small number of Rust crates on FreeBSD, but nothing too serious - usually fairly obvious one-liner fixes, quickly accepted. Other than that my experience has been really good. ---------------------------------------------------------------------- Mgladiethor · 2018-10-03 06:15 a world of pain ---------------------------------------------------------------------- russellb23 · 2018-10-04 11:53 Thank you freeky