Prem's Weblog

Random notes from a developer

Posts
  • Prem's Weblog

    Demonstrating Object Serialization

    • 1 Comments
    Assuming you know the rules for Object Serialization, my aim in this article is to write an app in J# which does Object Serialization and then I shall decipher the serialized data. Below is the app which does the object serialization. This app is...
  • Prem's Weblog

    Display Raw Contents of a file

    • 3 Comments
    Sometimes you just want to see the raw contents of a file. This is especially useful when you don’t have any cool editor/program which can read that file and present the contents in some useful manner. Like you may want to see contents of a zipped file...
  • Prem's Weblog

    IEEE-754 Floating point --> Special values and Ranges

    • 5 Comments
    As I mentioned in my previous blog , we shall now discuss details regarding range of values for IEEE-754 floating point numbers, Denormalized forms, NAN and a simple algorithms for conversion between IEEE-754 hexadecimal representations and decimal Floating...
  • Prem's Weblog

    IEEE Standard 754 for Floating Point Numbers

    • 5 Comments
    This article specifies how single precision (32 bit) and double precision (64 bit) floating point numbers are to be represented as per IEEE Standard 754. Floating point Representation: Floating-point representation represents real numbers...
  • Prem's Weblog

    Some Insights into Delegates from J# perspective

    • 1 Comments
    It needs to be noted that the classes com.ms.lang.Delegate, System.Delegate or System.Multicast Delegate are all abstract classes. Hence, we cannot create instances of com.ms.lang or System.Delegate classes with the “ new” keyword. When we declare...
  • Prem's Weblog

    Some differences between com.ms.lang.Delegate and System.Delegate type in J#

    • 4 Comments
    Firstly, instance “invoke” function has different case letters in them: com.ms.lang.Delegate à invoke System.Delegate à Invoke Also, the static functions combine and Remove have different case letters: com.ms.lang.Delegate à combine...
  • Prem's Weblog

    How to create System.Delegate in J#

    • 1 Comments
    Creating System.Delegate in J# Single-cast Delegate Single-cast delegate derived from System.Delegate are created using the @delegate directive. The default delegate in J# are the ones derived from com.ms.lang.Delegate(without using...
  • Prem's Weblog

    How to create com.ms.lang.Delegate in J#

    • 1 Comments
    Creating com.ms.lang.Delegate in J# Single-cast Delegate Single-cast Delegate derived from com.ms.lang.Delegate calls only one function. This delegate type represents objects that cannot be chained together in an invocation list. ...
  • Prem's Weblog

    Primer - Delegates in J#

    • 5 Comments
    Primer - Delegates in J# In next couple of posts i will discuss about delegates in J# starting from basic introduction, different types, and finally discuss some examples around delegates. Here is the first section of this primer...As always...
  • Prem's Weblog

    Who am I !

    • 0 Comments
    My name is Prem and I am working as a Software Design Engineer in Visual J# product team. Visual J# is essentially one of the languages targeting .NET platform. Visual J# is a powerful tool for Java-language developers who want to build applications...
Page 1 of 1 (10 items)