[haiku] Re: GSoC 2017: Introduction and alternative project suggestion

  • From: "Adrien Destugues" <pulkomandy@xxxxxxxxxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Fri, 03 Mar 2017 15:19:49 +0000

3 mars 2017 16:06 "Joseph Calvin Hill" <mr_j.c.h@xxxxxxxxxxx> a écrit:

Hello Haiku community,

I'm a third year student studying Computer Science at the University of Hull 
in the United Kingdom
and I go by the irc/github aliases (return/0e/0xe). My interests are in 
operating systems,
compilers, security and reverse engineering. I've always found Haiku as an 
interesting OS to
contribute to and I've learnt about its POSIX support primarily by being 
involved in porting third
party applications and libraries (haikuports) from other platforms. I have 
experience writing
software in C, C++, Objective-C, Go and Python and I hope to be a active 
contributor to the project
by willing to participate in GSoC 2017 with two ideas: Either developing the 
Tracker Addon for a
version control system or my own original proposal of porting the Swift 3 
programming language to
Haiku.

As for the second proposal, I've looked at the external dependencies [1] 
required for building
Swift and all of them are available on Haiku (x86 hybrids and x86_64). So I 
believe that most of
the porting effort for supporting Swift on Haiku will be patching the 
build-script, along with the
compiler internals and some of the required LLVM components (swift-llvm and 
swift-clang)[2] that
come with it. I'll be using the FreeBSD port[3][4] as a reference aid (based 
on Swift 2) to assist
in the porting effort. I'm currently writing a detailed proposal for this 
task.

I have already got Haiku (x86_gcc2h) running in VirtualBox and I'm able to 
build it from source
with some of my changes, but I need guidance into the sort of patches that 
are related to the above
proposals.

Hi, welcome to Haiku!

First, if you have already contributed something to Haiku or HaikuPorts, please 
include links to it (here or in your proposals). Even if it is not directly 
related to your project proposal, existing contributions are nice to have.

If you want to contribute something related to the project, for the first idea, 
you could look into Haiku bugs for Tracker. Or, you could also study existing 
software (MoleSVN, PonpokoDiff, etc) that may be related (there was a thread 
listing some of those in Haiku forums quite recently).

Regarding the second idea, it looks like getting Swift somewhat running was not 
too hard for FreeBSD. However, it may not be as easy for Haiku. While we have 
all the dependencies, some of them may be incomplete or not working as 
expected. I would expect some problems in Python3 and in LLVM. You will 
probably see what kind of problems you get if you try to build Swift. I think 
solving some of these issues would make for nice patches, showing you know 
where you are going with the project.

Also, don't hesitate to join the haiku-development mailing list if you want to 
get into more technical discussions.

-- 
Adrien.

Other related posts: