Redo from scratch

Jan 12, 2011 20:28

I think that djb redo will turn out to be the Git of build systems.

Read more... )

flamebait, computers, programming, redo, beware the geek, git

Leave a comment

Comments 13

Cool! ext_254110 January 12 2011, 20:49:07 UTC
I wish I could see your talk and have a pint after but I will definitely check out redo.

Reply

Re: Cool! pozorvlak January 14 2011, 15:17:21 UTC
Notes are up now, for what it's worth - they don't add much to the README, but it was helpful for me to produce them :-)

Reply


ciphergoth January 12 2011, 20:59:21 UTC
The *right* solution to the portability problem is to abandon the shell and write in a better language, like Python...

Reply

pozorvlak January 12 2011, 21:53:42 UTC
Well, yes and no. While Python is preferable to shell for anything remotely complex, it suffers from this problem. Perhaps if Python had an equivalent of Perl's qw// construct...

Reply

pozorvlak January 12 2011, 21:57:14 UTC
I imagine that once redo's internal APIs stabilise someone will write Python/Perl/Ruby modules to make writing do-scripts in Real Scripting Languages saner.

Reply

pozorvlak January 13 2011, 10:27:40 UTC
There was an excellent thread about just this question on the redo mailing list this morning. Interestingly, it turns out that since git is largely written in shell, the git team have had to do a lot of the work necessary to provide a drop-in POSIX environment on Windows. Hence a possible solution to the portability problem is to just bundle busybox with redo, and have your do-scripts use that by default.

Reply


necaris January 14 2011, 00:57:43 UTC
Looking forward to your notes -- I haven't heard much about redo but it sounds fascinating! I too have written a Makefile from scratch, but only for toy projects, and non-trivial Makefiles terrify me...

Reply


Don't understand why people "like"/want to rely on shell syntax ext_391771 January 14 2011, 19:36:25 UTC
As a developer that finally has had to learn sh/bash scripting (only recently was able to break free from the Win32 world), I find it ironic that one of the complaints about make is, "It's Yet Another Goddamn Syntax you have to learn, with its own stupid quoting and whitespace rules.", and yet later go on to say, "shell, IMHO, is mostly a good language for this kind of thing ( ... )

Reply

Re: Don't understand why people "like"/want to rely on shell syntax pozorvlak January 15 2011, 00:34:48 UTC
I agree with you about shell syntax: though I've written shell scripts, my "just rewrite the damn thing in Perl" threshold is deliberately low, and I have to look things up almost every time. But shell is at least better than shell + make, and shell is very good for one thing: running programs, which is something build scripts generally have to do a lot.

I have yet to be convinced on this either way, tbh.

Reply


ext_392118 January 15 2011, 03:47:40 UTC
I don't think you're right in your analogy with git and the conclusions, because I found scenarios where redo clearly lacks flexibility compared to make. I wrote them down in my blog: http://synflood.at/blog/index.php?/archives/789-Why-djb-redo-wont-be-the-Git-of-build-systems.html

Reply

pozorvlak January 19 2011, 10:11:59 UTC
Thank you! Very interesting.

Reply


Leave a comment

Up