Compiling Julia

38 views
Skip to first unread message

Nate W

unread,
Apr 9, 2012, 10:10:27 PM4/9/12
to Julia MVC Framework
Looks like progress is being made on a homebrew recipe (as of two
hours ago):

https://github.com/JuliaLang/julia/issues/387

Eric

unread,
Apr 10, 2012, 11:16:56 PM4/10/12
to Julia MVC Framework
I finally was able to sit down tonight to start working on this, but
I'm still waiting on it to build on a 2.66GHz dual-core laptop. I
should have just install the deb package, but it looks like it's a
month old and I wanted to latest and greatest given how fast things
are moving. I've been reading a lot about the implementation for the
past few days and am eager to try it out.

OK, it's finally built, so I'm going to play around with it for a
while and then go to bed. However, I've got the next few days free so
I hope I'll actually be able to start coding tomorrow. I'd probably
do best with the request and response wrappers, but I'll do error
handling, routing, utils, or whatever is needed. Has anyone started
to work on anything in particular?

Eric

PS - The Jude name is cool. I had no idea someone had already
snatched up Gaston, I didn't even check. Not surprising, really, but
I didn't even think of checking. In any case, I guess this confirms
my hypothesis about the origins of the Julia name, or at least
strengthens it.

Nicholas Klick

unread,
Apr 10, 2012, 11:53:04 PM4/10/12
to julia-mvc...@googlegroups.com
FYI, when I compiled Julia it took 30-40 mins to complete.

Re: the current state of affairs I think the MVC a completely blank slate. I have been working on a simple testing framework for Julia as a first shot at learning the language. I am aiming at something very simple but along the lines of minitest for Ruby. No where near completion at this point.

Maybe we should come up with a rough todo list (feel free to modify):

server
router
template language
DSL
Logger
?

In general, maybe the best thing to do would be to agree on the core components of this and then split it up. Maybe we could checkin a todo.txt file or something with a list of tasks etc.

I probably have less exp than you guys so I would rather someone else take the lead on the more challenging stuff. I can def jump in and help once there is some direction. I would be happy to attempt writing a template language for Julia, which Jude will use. I could attempt the logger also unless someone else wants to that. So I guess, for now I would like to work on: a template language/helpers etc a testing framework, which I have already started but will def want to get feedback  0_o 

Cheers!

Eric

unread,
Apr 11, 2012, 12:46:37 AM4/11/12
to Julia MVC Framework
I'm pretty sure that the template engine is going to be a big task.
So it would be great if that were your main concentration, or at least
one of your main focuses. Regarding the test framework, have you
looked at Issue 8: https://github.com/JuliaLang/julia/issues/8

I totally agree about a todo list -- I'll try to come up with one
tomorrow.

I'm off to get some sleep now.

'Til tomorrow,

Eric

Nate Wienert

unread,
Apr 11, 2012, 1:06:29 AM4/11/12
to julia-mvc...@googlegroups.com
I believe a template engine has already been started here: https://github.com/chzyer/JuliaWebServer

Although I was hoping to take a stab at something like Slim: https://github.com/stonean/slim

Which I'm sure we be a pretty big undertaking.  I'm splitting my time between about 4 projects right now, but despite this one have little real world value it's probably the most interesting so I hope I can contribute in a meaningful way.

Nicholas Klick

unread,
Apr 11, 2012, 1:10:02 AM4/11/12
to julia-mvc...@googlegroups.com
Seems like there will be room enough for a more ERB approach and also a HAML/slim approach. I was planning to start with a ERB approach. The JuliaWebServer looks more like mustache/handlebars etc which aesthetically I am not the biggest fan. I will checkout that code though thanks for sharing.  

Nicholas Klick

unread,
Apr 11, 2012, 1:31:25 AM4/11/12
to julia-mvc...@googlegroups.com
Thanks for the info. I am trying to parse the existing test framework, seems like this is an example of usage: https://github.com/HarlanH/julia/blob/master/test/test_test.jl

I was kinda thinking of something more along the lines of Test::Unit in Ruby which has a number of nice helper methods like assert_same (for same object), assert_match (for regex), assert_equal (for same value), etc see here: http://ruby-doc.org/stdlib-1.9.3/libdoc/test/unit/rdoc/Test/Unit/Assertions.html

I have stubbed out a number of these already and now need to write the parser/runner portion for evaluating test files against the library.

Patrick O'Leary

unread,
Apr 11, 2012, 8:14:44 AM4/11/12
to julia-mvc...@googlegroups.com
On Tuesday, April 10, 2012 11:46:37 PM UTC-5, Eric wrote:
I'm pretty sure that the template engine is going to be a big task.
So it would be great if that were your main concentration, or at least
one of your main focuses.  Regarding the test framework, have you
looked at Issue 8: https://github.com/JuliaLang/julia/issues/8

See also extras/test.jl in the distribution.

Nicholas Klick

unread,
Apr 11, 2012, 8:36:23 AM4/11/12
to julia-mvc...@googlegroups.com
Thanks for pointing this out. I did check out that file. At first glance it seems like slightly a diff approach than I was hoping to do. But I need to examine it further. I was aiming at something more like Test::Unit for ruby.
Reply all
Reply to author
Forward
0 new messages