Archives for posts with tag: Programming
Newspeak: A Principled Dynamic Language
Google Tech Talk May 4, 2010 ABSTRACT In this talk, we present the main features of Newspeak, a dynamic programming language focused on software engineering. All names in Newspeak are late bound – including class names. Hence all classes in Newspeak are virtual, every class declaration defines a mixin, and class hierarchy inheritance comes for free. Newspeak has no global namespace and no static state. Top level classes act as module definitions. These have no external dependencies. Each instance of a top level class is a module that runs in its own sandbox in accordance with the object capability security model. Gilad Bracha is the creator of the Newspeak programming language. Previously, he was a Distinguished Engineer at Cadence, and a Computational Theologist and Distinguished Engineer at Sun. He is co-author of the Java Language Specification, and a researcher in the area of object-oriented programming languages. Prior to joining Sun, he worked on Strongtalk, the Animorphic Smalltalk System. He received his B.Sc in Mathematics and Computer Science from Ben Gurion University in Israel and a Ph.D. in Computer Science from the University of Utah.
Views:
1585
12
ratings

Time:
01:26:39
More in
Science & Technology

In this episode of the Coding4Fun Show, Brian Peek chats with Josh Blake about Natural User Interfaces and Multitouch programming with .NET.  Josh has written a multitouch PowerPoint replacement called NaturalShow, which was demonstrated during his NUI session at MIX10. Watch and learn a bit about how this application was created as well as how you can write multitouch applications with WPF.  And for even more multitouch programming goodness and more on NaturalShow, Josh is currently working on a book titled Multitouch on Windows, which can be purchased and read while he’s writing it!

Part 3 of the Beckman Meijer Co/Contravariance in Physics and Programming Hypothesis/Challenge has finally arrived, Niners! :)
 
You learned about Brian Beckman’s perspective on covariance and contravariance in physics. Erik Meijer found this topic to be incredibly interesting and the two geniuses decided to take a stab at identifying the relationship between co/contra in two different domains: physics and programming.

What will they discover at the whiteboards?

Tune in to find out in this n-part series (part 1 here, part 2 here) with two of Channel 9’s and Microsoft’s most famous and respected software practitioners. Will there be a part 4? Perhaps you can help Brian and Erik find an answer to this interesting problem. They’re real close. Niners can help reach the end line (if there is in fact one). It is highly recommended that you watch the first parts before watching this one!

Thinking caps on? Go!

You first learned about Rx on C9. We’ve led you through the basic concepts of reactive programming to the deep mathematical foundation behind Rx (interface duality). By now, you should understand that IObservable is the dual of IEnumerable. Today, you will learn some new concepts (for many of you) in addition to the introduction of Rx’s newest interface, IQbservable, the dual of IQueryable. In effect, the addition of IQbservable completes the interface puzzle within Rx. But what does this mean?

The great Bart De Smet takes us through the fundamentals and specifics behind this new interface, which ships in the latest version of Rx. Most of the time is spent at the whiteboard. There’s also a short demo at the end of the conversation. Here’s the flow:

Whiteboarding:

  • Expression trees recap (lambdas convertible to either anonymous methods or expression trees)
  • How LINQ to Objects versus LINQ to SQL works, introducing IQueryable<T>
  • Look at the Queryable extension methods and how they stitch expression trees together
  • Differences between IQbservable<T> and IQueryable<T> (mainly simplification)
  • Extended role of IQbservableProvider compared to IQueryableProvider
  • Synergy between IQueryable and IQbservable (ToEnumerable/ToObservable “sideways” conversion)
  • What operators are available (answer: 99% – explain why that 1% is omitted)

Demo:

  • Sample observable LINQ provider (LINQ to WQL)

Put your thinking caps on, turn up the volume, sit back, and learn. Erik Meijer and team are innovating at a level we haven’t seen in a while around here. Rx is profoundly evolving and taking LINQ along for the ride. Incredible work!

Enjoy this latest episode of Going Deep. Ask questions. Bart et al. will answer them here and on the Rx forums.

With the recent release of Visual Studio 2010 and .NET 4/Silverlight 4 (Managed 4), I figured it was time to learn a thing or two about some new native functionality, specifically in the STL (Standard Template Library) that ships with VS 2010.

Who better to dig into some STL internals than the great Stephan T. Lavavej? Stephan spends most of his time maintaining the STL (along with the core producers of the library, who last I heard work from a remote location in Hawaii…). Stephan is no stranger to those of us who spend time in the native programming world (and use C++, specifically, to compose), and you’ve already met Stephan a few times on C9.

As always, this conversation just happened. Stephan and I didn’t draft up some highly structured and scripted plan. Spontaneity is always our goal, and we met that goal here! So, if you are interested in STL internals and C++ in general, then this is for you.

Thank you, Stephan, for another great lesson.

Enjoy!

Silverlight 4 is now available for download.

Silverlight 4 enhances the building of business applications, media applications, and applications that reach beyond the browser. New features include printing support, significant enhancements for using forms over data, support for several new languages, full support in the Google Chrome web browser, WCF RIA Services, modular development with MEF, full support in Visual Studio 2010, bi-directional text, web camera and microphone support, rich text editing, improved data binding features, HTML support, MVVM and commanding support, new capabilities for local desktop integration running in the new “Trusted Application” mode such as COM automation and local file access. 

Go get it!

Learn what’s new in SL4.

Senior Vice President S. Somasegar (aka Soma) joins us for a chat about Visual Studio 2010 RTM, which is available today. Visual Studio 2010 and .NET Framework 4 offer an unprecedented level of support for Microsoft’s platforms, including Windows, Windows Server, Office, SharePoint, Windows Phone, SQL, and Windows Azure. Here we get Soma’s perspective on this release, Microsoft’s broadest developer tooling offering ever, including several enhancements and new capabilities for both managed and native developers alike.

MSDN customers will be able to download VS 2010 and .NET Framework 4.

Tune in!
 

/* Life Runs on Code */

Anders Hejlsberg opens the developer keynote at TechDays 2010 in Belgium with: ‘Trends and future directions in programming languages’, on March 31st 2010. In this keynote Anders discusses the paradigms and future directions in programming languages.

About Anders Hejlsberg:

Anders Hejlsberg is a Technical Fellow in the Developer Division. He is an influential creator of development tools and programming languages. He is the chief designer of the C# programming language and a key participant in the development of the Microsoft .NET framework. Since its initial release in 2000, the C# programming language has been widely adopted and is now standardized by ECMA and ISO. Before his work on C# and the .NET framework, Hejlsberg was an architect for Visual J++ development and the Windows Foundation classes.  Before joining Microsoft in 1996, Hejlsberg was one of the first employees of Borland International Inc. As principal engineer, he was the original author of Turbo Pascal, a revolutionary integrated development environment, and chief architect of its successor, Delphi.  Hejlsberg co-authored “The C# Programming Language”, published by Addison Wesley, and has received numerous software patents. In 2001, he was the recipient of the prestigious Dr. Dobbs Excellence in Programming Award.  He studied engineering at the Technical University of Denmark.

Bill Buxton and Erik Meijer are both highly respected scientists in very different fields. Erik is a programming language designer and creator of LINQ, “Volta”, Rx and other things we can’t share publicly yet. Bill is a user experience design researcher, musician and a celebrity in the design community.

We figured we should put them together, roll the cameras and see what happens. The topic: different perspectives on the essence of design, regardless of specific domain.

It turns out that Erik and Bill have many similarities including an interesting Dutch connection. This is a pure Channel 9 conversation that happened in real time at MIX10, broadcast live.

So, what happens when you put two masters of different domains together for the first time, on stage, live? Tune in to find out.

JavaScript is the most widely used programming language on the web. As the great Douglas Crockford likes to say, JavaScript is both the world’s most popular programming language and the world’s least popular programming language at the same time.

In this episode of Expert to Expert (to Expert), Erik Meijer joins MSR research scientists Ben Livshits and Ben Zorn to talk about JavaScript, project JSMeter and today’s trends in web programming.

Dr. Zorn and Dr. Livshits have been doing a significant amount of research on how JavaScript is used in the real world by analyzing JS execution on large-scale (JS-heavy) commercial web sites. Their formal exploration of JS executing in the real world, Project JSMeter, has yielded results, which seem to indicate that current JS performance test suites are at best suspect in terms of how JavaScript is actually running on the web, in production, on real sites, etc. But read the findings and make your own judgments, of course. 

Tune in. Enjoy.