Brave development environments


#1

I’ve looked through several of the threads on building Brave but have some questions and also want to confirm some things.

  • Developing Brave for Desktop
    • Is this the same code for both Linux and windows?
    • Looking at the instructions it looks like most of the development work is done in C (or is it C++)? Not Java.
    • I saw where Visual Studio was mentioned but I don’t have an MSDN subscription, so Eclipse is recommended then (i.e. what is the recommended opensource IDE?)?
    • I read somewhere there was significant JavaScript work but maybe that was wrong?
    • Recommended OS for development - I can user either Ubuntu or Windows 10 - what are most people using?
    • This is the correct place for desktop dev, correct? https://github.com/brave/browser-laptop ?
  • Developing Brave for Android
    • Looks like most development is done in Java?
    • I read somewhere there was significant JavaScript work but maybe that was wrong?
    • Article talked about Eclipse for android but I know that Google has switched to Android Studio now… so is Android Studio the recommended IDE for Brave Android development?
    • Recommended OS for development - I can user either Ubuntu or Windows 10 - what are most people using for development?
    • I kept getting directed to the buble browser but I know that is now defunct. I believe this is now the place for Android dev, correct https://github.com/brave/browser-android-tabs ?

#2

Yes, those two are the correct repos for desktop and Android.

Looping in @clifton @sriram and @samartnik @Serg for assistance here. :slight_smile:


#3

For Android:

  • Most development is done on Java and C++.
  • JavaScript is also used, but not significantly.
  • Chromium is not fully supported under Android Studio, so we primarily use Atom. Which is technically text editor, but it has IDE plugins.
  • Recommended OS is Ubuntu.
  • The link is correct.

#4

Hi @johnActivist

With regards to the desktop product:

  • the code is the same for Windows / macOS / Linux
  • a decent chunk of the code is done in C++; this part is called Muon (our fork of electron).
  • browser-laptop is the JavaScript side client code. This uses a prebuilt binary of Muon
  • For Windows, you can use the free Visual Studio Community edition. There are also just the compiler binaries available too (MSBuild, etc)
  • RE: preferred environment, Ubuntu will likely be a little easier (at least for me- I haven’t tried the new linux subsystem integration on Windows)
  • RE: the repo, that is exact the right place :slight_smile: ex: https://github.com/brave/browser-laptop

Hope this helps
Thanks!
Brian


#5

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.