Go: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 20: Line 20:
=Questions=
=Questions=
<font color=red>
<font color=red>
* The simplest possible program (<tt>var a:=1; a = a + 1</tt>) is 1065952 bytes long. Why? What does it contain?
* The simplest possible program (<tt>var a:=1; a = a + 1</tt>) is 1065952 bytes long. Why? What does it contain?
* It is not immediately obvious what interface is implemented by a certain type. In order to make the correlation we need to scan the list of methods associated with the type and know those methods (or a subset of those methods) are in the method set of a certain interface.
</font>
</font>

Revision as of 03:37, 31 March 2016

External

Overview

Go is a general-purpose language designed for systems programming. It is strongly typed ... (for more details go to Go Concepts).

Subjects

Questions

  • The simplest possible program (var a:=1; a = a + 1) is 1065952 bytes long. Why? What does it contain?
  • It is not immediately obvious what interface is implemented by a certain type. In order to make the correlation we need to scan the list of methods associated with the type and know those methods (or a subset of those methods) are in the method set of a certain interface.