[webkit-dev] JSC without Dependencies

Brian Barnes ggadwa at charter.net
Mon Aug 17 18:38:06 PDT 2009

On Aug 17, 2009, at 7:08 PM, Brent Fulgham wrote:

> As a full time Windows developer, I'm afraid I really disagree with
> you on this topic.  I don't think it's correct that since most win32
> development happens (only) in VS, that it follows that we should aim
> to only use Visual Studio. I think this limits us to the same poor
> environment that leads to so much awful Windows software.

Well, the last thing this should turn into is a discussion about  
development environments :)
> For that matter, most Windows developers don't bother building
> 'utility' libraries like JavaScriptCore themselves; they generally
> just want to install an SDK and get on with their work.
> Windows development does occur primarily in VS, but I think this is
> part of the reason there is so much bad windows code written.  WebKit
> uses tools like Perl to automate generation of various boilerplate
> interfaces from definitions, and does so in a cross-platform way.
> Restricting ourselves to VS-only would probably mean having to
> manually keep all of this stuff in sync (no thank you!)
> It might be possible to use only ActiveState Perl and Python (and
> ditch all bash scripting), but I'm not sure how much effort would be
> involved in doing so.  This would still require generating the gperf
> output used somehow (perhaps that could be maintained as a static text
> file in the build).  Oh -- It would also require the creation of
> NMAKE-compatible Makefiles to drive the build process (yet another
> needless replication of a cross-platform tool).
> While the current set of tools in WebKit is by no means perfect, it is
> a well designed system for maintaining functionally-equivalent builds
> of WebKit on all major (and many very tiny!) platforms.
> I think your efforts would be better served by:
> 1.  Getting your environment set up with Cygwin and building properly.
> 2.  Coming up with patches to reduce the external dependencies
> (CFLite, ICU, pthreadsv2).
> 3.  Providing pre-build binaries of your dependency-free
> JavaScriptCore.dll for people to use in their own projects.
> I fully agree that reduced dependencies are a good idea, but I've come
> to really like CoreFoundation (CFLite) and don't really care that much
> about having the other dependencies as long as I can stay up-to-date
> with WebKit's main development.

I'll certainly refrain to you guys and your much greater area of  
expertise in JSC; I'm sure there's a good reason for everything that  
goes on.  I'll think I'll take this path first, as you suggested, and  
see how far I can get.  Hopefully I'll get done with my main switch  
over any day now and can begin to get into the JSC code.  The fact is,  
if you are using perl to build files, there's no way around that, so  
we might be stuck.  I'll put up more when I get further.

Thanks for all the help and discussion!

[>] Brian

More information about the webkit-dev mailing list