[Dorset] Which language is most popular.
Been very quiet here for a few days, so I thought I'd put this link up www.langpop.com Does anyone use 'D'? Peter -- Next meeting: Crown Hotel, Blandford Forum, Tuesday 2010-11-02 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ How to Report Bugs Effectively: http://goo.gl/4Xue
Re: [Dorset] Which language is most popular.
On 15/10/2010 09:31, Justin Stringfellow wrote: On 15/10/2010 09:24, Peter Merchant wrote: Been very quiet here for a few days, so I thought I'd put this link up www.langpop.com Does anyone use 'D'? If you're referring to the language known as D used with Solaris' Dtrace debugger, then the answer is yes. Is there another D? Does anyone remember 'B' - showing my age! I cut my teeth on assembly, then Coral66, F77, C and C++ with a brief forced flirtation with ADA and since the web fell in love with Perl and then used Java. Recently been forced to move from Perl to PHP for web and after discovering Zend Framework and JQuery can actually do rapid prototyping web applications ;-) Next I aim to retire :-0 Si -- Next meeting: Crown Hotel, Blandford Forum, Tuesday 2010-11-02 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ How to Report Bugs Effectively: http://goo.gl/4Xue
Re: [Dorset] Which language is most popular.
Does anyone remember 'B' - showing my age! Si I have a bad memory of B. I went for an interview at the Genome Project in Cambridge. They wanted a B programme re-written in C++. It came down to the last two. I submitted an STL programme which was a general solution to their problem, scalable etc. The competition submitted something that 'looked' better, because it didn't use an hpp file but an h and an implementation and lots of pretty macros. You can guess who was chosen, right? W***ers. Simono -- Next meeting: Crown Hotel, Blandford Forum, Tuesday 2010-11-02 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ How to Report Bugs Effectively: http://goo.gl/4Xue
Re: [Dorset] Which language is most popular.
Hi Paul, I did have a play with BCPL that it was developed from though. ... I think B was then developed into C, etc. Yes, BCPL was by Martin Richards at Cambridge University and was a stripped-down version of CPL, the B meaning basic. That meant it was easier to write a compiler for it, especially on small machines. There was also a BCPL ROM for the Acorn BBC home computer, not surprisingly since it also came from Cambridge. Ken Thompson, creator of Unix, stripped it down further, to B, when he wanted an even smaller language. It wasn't compiled to machine code, but threaded code. Dennis Ritchie took over from him, creating New B and then C, and changing the compiler to produce machine code along the way. A very good and popular book on writing compilers from my youth used BCPL as the implementation language because, being simple and only having one type, the machine word, the language got out of the way of showing the compilation techniques. The author, Richard Bornat, has put a version online now. The original book I have was produced in a fixed-width font with underlining and over-printing for bold. :-) http://www.eis.mdx.ac.uk/staffpages/r_bornat/#compilerbook I can recall marvelling at how a C compiler could take source code and produce machine code from it. I could write both but didn't know the magic of how a compiler went from one to the other. Bornat's book showed how to me and many others. Cheers, Ralph. -- Next meeting: Crown Hotel, Blandford Forum, Tuesday 2010-11-02 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ How to Report Bugs Effectively: http://goo.gl/4Xue
Re: [Dorset] Which language is most popular.
Brilliant book. Copy saved. Thanks, Ralph. Simono On Fri, 2010-10-15 at 13:08 +0100, Ralph Corderoy wrote: Hi Paul, I did have a play with BCPL that it was developed from though. ... I think B was then developed into C, etc. Yes, BCPL was by Martin Richards at Cambridge University and was a stripped-down version of CPL, the B meaning basic. That meant it was easier to write a compiler for it, especially on small machines. There was also a BCPL ROM for the Acorn BBC home computer, not surprisingly since it also came from Cambridge. Ken Thompson, creator of Unix, stripped it down further, to B, when he wanted an even smaller language. It wasn't compiled to machine code, but threaded code. Dennis Ritchie took over from him, creating New B and then C, and changing the compiler to produce machine code along the way. A very good and popular book on writing compilers from my youth used BCPL as the implementation language because, being simple and only having one type, the machine word, the language got out of the way of showing the compilation techniques. The author, Richard Bornat, has put a version online now. The original book I have was produced in a fixed-width font with underlining and over-printing for bold. :-) http://www.eis.mdx.ac.uk/staffpages/r_bornat/#compilerbook I can recall marvelling at how a C compiler could take source code and produce machine code from it. I could write both but didn't know the magic of how a compiler went from one to the other. Bornat's book showed how to me and many others. Cheers, Ralph. -- Next meeting: Crown Hotel, Blandford Forum, Tuesday 2010-11-02 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ How to Report Bugs Effectively: http://goo.gl/4Xue -- Next meeting: Crown Hotel, Blandford Forum, Tuesday 2010-11-02 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ How to Report Bugs Effectively: http://goo.gl/4Xue
[Dorset] Using GtK 2 For Interfaces
This is getting to be silly; Gtk 2 uses Pango for parts of the interface rendering. I am getting runtime errors due almost certainly to my inability to supply a Pango.Font object. I'm not going to supply any error output or listen to (too much) of a lecture about Pango being a text-rendering add-in; the documentation is poor, but I've used it to solve most of the gtk-pango issues. I was just wondering if anybody knows how to instantiate a pango font object correctly? Simono -- Next meeting: Crown Hotel, Blandford Forum, Tuesday 2010-11-02 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ How to Report Bugs Effectively: http://goo.gl/4Xue
Re: [Dorset] Which language is most popular.
On Friday 15 October 2010, Simon P Smith wrote: On 15/10/2010 09:31, Justin Stringfellow wrote: On 15/10/2010 09:24, Peter Merchant wrote: Been very quiet here for a few days, so I thought I'd put this link up www.langpop.com Does anyone use 'D'? If you're referring to the language known as D used with Solaris' Dtrace debugger, then the answer is yes. Is there another D? Does anyone remember 'B' - showing my age! I cut my teeth on assembly, then Coral66, F77, C and C++ with a brief forced flirtation with ADA and since the web fell in love with Perl and then used Java. Recently been forced to move from Perl to PHP for web and after discovering Zend Framework and JQuery can actually do rapid prototyping web applications ;-) Next I aim to retire :-0 Si -- Next meeting: Crown Hotel, Blandford Forum, Tuesday 2010-11-02 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ How to Report Bugs Effectively: http://goo.gl/4Xue It looks like I beat you to the last one then Simon (retire) but what happened to BCPL? And I freely admit you did more ADA than me ;) -- Andy Paterson -- Next meeting: Crown Hotel, Blandford Forum, Tuesday 2010-11-02 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ How to Report Bugs Effectively: http://goo.gl/4Xue
Re: [Dorset] Using GtK 2 For Interfaces
Hi Simon, in a few words, NOT EVEN COMPILING. Well, I gave Python. You didn't say what language, etc., you were using. I'm not going to supply any error output... or tell us the language. :-) Seems to be you're after Mono from your later email. http://www.mono-project.com/Pango:Beginners suggests Pango.FontDescription.FromString(normal 10) gets you on the way. Cheers, Ralph. -- Next meeting: Crown Hotel, Blandford Forum, Tuesday 2010-11-02 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ How to Report Bugs Effectively: http://goo.gl/4Xue
Re: [Dorset] Using GtK 2 For Interfaces
Thanks for that Ralph. I've got the Graphics Context bug sorted; apparently the GC constructor takes a graphics device object as argument, although it seems to request a pointer (raw) in the intellisense. Makes me think that the Font constructor is something equally simple. What, exactly, remains a mystery, but I've found some useful code from 2005 and I'll post the link later. Once I'm successful, I'll also post my code to you to give you some idea. My whole purpose is to explore ANY similarity possible with GDI+. Simono On Fri, 2010-10-15 at 19:11 +0100, Ralph Corderoy wrote: Hi Simon, in a few words, NOT EVEN COMPILING. Well, I gave Python. You didn't say what language, etc., you were using. I'm not going to supply any error output... or tell us the language. :-) Seems to be you're after Mono from your later email. http://www.mono-project.com/Pango:Beginners suggests Pango.FontDescription.FromString(normal 10) gets you on the way. Cheers, Ralph. -- Next meeting: Crown Hotel, Blandford Forum, Tuesday 2010-11-02 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ How to Report Bugs Effectively: http://goo.gl/4Xue -- Next meeting: Crown Hotel, Blandford Forum, Tuesday 2010-11-02 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ How to Report Bugs Effectively: http://goo.gl/4Xue