I just got back from my holliday here in the Netherlands. The occasion was the first year anniversary of me and my girlfriend.
I went one week to a bungalow park, where I spent most of my time swimming, sunbathing and enjoying the local entertainment.
The weather was very nice. At least 25 degrees centigrade every day with a lot of sun. It only rained for approximatly 1 1/2 hours. I don't know why nature managed to let it rain during the time that I was having a BBQ! It was really awkward that I started raining 15 minutes after I lit the BBQ and it stopped just after we were finished. I didn't deserve that did I?
Although the holliday was great, I'm happy that I'm back with my computer and internet. The only thing I missed during the days were CodeProject and visual studio 2005..
Talking about VS 2005, I finished the design documents about the extra heap article and I must say that I'm very satisfied about the product at the moment. You'll be hearing about it more soon.
Behind every great black man...
... is the police. - Conspiracy brother
It's been a while now since I posted a message here. The main reason for this is that I have been very busy with the implementation of my project of my internship. It is taking much more time than I expected.
Anyway, I'm happe to say that I almost finished the detailed design of the heap component I promised a month ago. I only have to do the following things before I can write the actual article about it:
Verify all the data structures
Start coding and finalize the design, so no design changes have to be made after I post the article.
I was also thinking about a third part in the article series. The third part would be about the testing application that I'll use to test the whole component. Do you think that this would be too much or do you find this interesting? If nobody is intersted in the third article, I don't have to write it...
I'll be in touch.
Behind every greak black man...
... is the police. - Conspiracy brother
A couple of weeks ago I read a post in the VC++ forum about a guy who was confused by the fact that he only could allocate 2GB of memory. My reaction to that post was that you could write a heap manager that simulates real memory on the hard disk. I also said that I would write an article about is someday.
An other user replyed that he would be very interested in my article and asked me if I could notify him after posting it on here on CP. I promised that I would do that.
And promise makes guilt...
So I started making requirements for this component and I have a very good feeling about it. I think that I'll write the article in 2 parts.
Part 1 - Requirements and design
Part 2 - Implementation
Part 1 would explain how I got the requirements and why I came up with the particular design and part 2 would explain the code in detail. So users who are not interesting in the design story can always skip part 1 and use part 2 as some sort of reference manual.
This will be the first articles that I post in my life, so I hope that this will be interesting to some other users as well..
I'll post more on this when I have more information.
Yesterday I attended the microsoft C++ Accelerator tour. After using VS 2005 Beta 2, I was excited about going there.
Some of the topics that the speakers were talking about were: security, performance, .NET and the cool new features of the IDE. They explained how attackers can abuse stack overflows, how to optimize your program and where the new features were hidden in the IDE.
The new security feature was the /GS compiler option. this makes sure that all the functions accepting user input, are protected against stack overflows and invalid function pointers. It uses cookie values on the stack that cause the program to terminate when the stack overflows.
The other thing the compiler adds to your code is shadow function parameters. This means that when a function pointer is passed to a function, a local copy is made of that parameter. I think that this is a nice option to have, but I don't think that good developers need it.
They also presented the new optimezer feature called Profile Guided Optimization. This is used to optimize only the code that is most ofter executed by a regular user. This cool new feature is a nice 'give away'.
Besides that, they were talking a lot about the improved IDE, wich I think is very sweet. You can just customize everything you want..
I was alos pleased that they are going to continue support for MFC. They even added the possibility to use MFC with WinForms and vice versa! Wheehee.
I think that VS 2005 is going to be the new major IDE sice VS6.0. I just hope that they get a stable release build, because it's just annoying how much the beta 2 crashes...
Most of the day I spend relaxing, drinking my thea and watch how Visual Studio 2005 is trying it's best not to crash. I don't know how something like that is going to make me more productive, but since it's a beta, I don't worry to much.
I also noticed that using a lot templates really screws up intellisense. It now works just like the intellisense from VS 6.0 which I think was rather irretating instead of helpful.
I really hope that the Visual C++ Accellerator tour which I'm going to attend in two weeks, is going to be very helpfull. I'm very excited about it, since I've never attended such an event. I'll let you know more about it in two weeks.
Well, I have to start relaxing again, get me a cup of thea and hope that VS 2005 will comsume less than 99% of my CPU time. It's been doing that for already more than five minutes...
After specifying tests, talking with the boss about the GUI and frustrating about the requirements he came up with, I finally reached the technical design phase.
After readin a little bit about policy based design and the power of templates I figured that I should take my design skills to the next level. Armed with the Loki[^] library, I started a few experiments. I soon found out that VS 6.0 doesn't support partitial template specialization. After complaining and going berserk, my boss came up with VS 2005 Bete. "Here try this." he said. After installing the beta, creating a new project and compiling... I was relieved. It works!
Now I'm making designing all the details.
During the time switching trains I even noticed that 20 CM of snow fell here in holland!
A new day at the office, a new thing to do. It's still early in the morning and I came in first today. After wondering what I should do this morning, I decided that I should have my own blog. I read al lot of blogs from other people, so why not have my own...
I'm currently doing an internship at a company in the Netherlands. My assignment is to write a protocol analyzer tool that can analyze communication between 2 or more embedded systems. Since they have a inexaustable source of protocols, the application has to be flexible enough so that one can define protocols by an XML format.
Right now I'm in the user interface design phase and these days I have to do a lot of paperwork... Today I have to start with the Software Test Plan, another usefull document among many...
I'll bring an update here soon when I start my technical design.
Last Visit: 21-May-19 18:50 Last Update: 21-May-19 18:50