News for hackers. Stuff that matters.
Re:A tiling window manager written in Rust by serge2k on Wednesday December 17, 2014 @11:44AM (#8762914)
If anyone else was confused about where the rest of the code is, https://github.com/Kintaro/wtftw-core
Re:A tiling window manager written in Rust by codingbinary on Wednesday December 17, 2014 @01:06PM (#8763385)
Author here. I am sorry about the confusion. It happened later in the project when I split it into 3 components (4 as soon as I add Wayland support). I should probably mention that in the Readme.

Thank you.

Re:A tiling window manager written in Rust by vog on Wednesday December 17, 2014 @01:13PM (#8763429)
Is it really helpful to have different components of the same project in separate repositories? Are they really that independent? Four independent components for a single window manager seems a bit high to me.

Regarding modularization, I tend to prefer Fowler's criterium that a component should contain code which is usually changed together. So, if you have one component where 95% change slowly and 5% change often, you should split it. However, if you have two components that you almost always have to change at the same time, you should merge them.

Re:A tiling window manager written in Rust by codingbinary on Wednesday December 17, 2014 @01:19PM (#8763459)
That's why I split it. The window system interface is pretty much done. The main module won't change by much.

95% of the work is done in the core module. The main module is merely for the executable and rarely changes.

I've split it up because the xlib (and future wayland) modules need to refer to the core as a library, so the main module has nothing to do there.

Though I admit that part of the reason is earlier attempts with dynamic libraries, but that was more hassle than it needed to be.

I could merge the core back into the main module, but I'll wait a bit until I do that, just to be sure.

Re:A tiling window manager written in Rust by TheHydroImpulse on Wednesday December 17, 2014 @01:28PM (#8763495)
You could take advantage of having a single git repo for multiple cargo packages. This has worked extremely well for me. It was a lot easier having a single git repo to manage and control but still have separate packages for each of the different pieces. You could have the main package become the executable and have the core and various other packages in there, too.
Re:A tiling window manager written in Rust by tpaksoy on Wednesday December 17, 2014 @03:34PM (#8764184)
I've seen this done in many Rust repositories on Git. I would also suggest to look into this (single repo, multiple Cargo crates in seperate folders).
Re:A tiling window manager written in Rust by codingbinary on Wednesday December 17, 2014 @04:04PM (#8764342)
Thanks, I will look into it. But tomorrow at the earliest. Today I'm out to celebrate the last ever exam I just passed.
Re:A tiling window manager written in Rust by rudolf0 on Wednesday December 17, 2014 @04:57PM (#8764597)
Congratulations!
Re:A tiling window manager written in Rust by codingbinary on Thursday December 18, 2014 @05:27PM (#8770028)
And done
Re:A tiling window manager written in Rust by Symmetry on Wednesday December 17, 2014 @01:59PM (#8763673)
Wayland support

Wow, nice to see a tiling window manager working on that.

Re:A tiling window manager written in Rust by codingbinary on Wednesday December 17, 2014 @02:08PM (#8763716)
As soon as I figure out how to do that. But I need only minimal functionality, so I don't expect it to be _too_ difficult. I figured I should start with the Weston shell and figure it out from there.
Re:A tiling window manager written in Rust by kragniz on Wednesday December 17, 2014 @07:52PM (#8765440)
loliwm is another one.

https://github.com/Cloudef/loliwm