Matt Pietrek访谈,谈他对.NET的看法及Numega工作情况(英文)

PEDUMP - Matt Pietrek PEDUMP - Win32/Win64 EXE/OBJ/LIB/DBG file dumper - 2001 Matt Pietrek PE 文件分析器,包含两个版本的源代码. 本文件来自网上. 立即下载

 

What do you think about possibility of porting .NET Framework to non-Windows platform? It is

technically possible now? Or there are issues must be solved for this? Do you think we'll see

such port say on Linux. What are your predictions about this?

I think that .NET could be ported to other platforms now, if somebody was so inclined. After all,

MS says they’re considering submitting part or all of it (I forget the exact details) to a

standardization body.

 

If you look at .NET from the standpoint of its runtime classes, its execution engine, and so

forth, you’ll see that there are huge chunks that aren’t tied to any specific CPU and/or OS. A

string class is a string class (hopefully!)

Sure, .NET has things that may not be portable, such as classic COM interoperability. Those

things might not get ported if somebody other than MS was to provide a .NET implementation. That

’s life. Don’t use those features if you’re concerned about writing .NET code that may run on

some non-MS implementation in the future. And truthfully, the same issues exist today with Java

and Unix. If you start using certain cool features specific to some implementation, portability

may bite you.

Will we see .NET on Linux? Truthfully, I don’t know. However, based upon projects such as WINE,

it would surprise me if there were some group of people who really want to put the effort into

making a .NET implementation run on Linux. If so, more power to them.

I was wondering what your opinion is of the future course of Windows CE in light of .Net. I've

taken notice of the fact that Compuware/Numega doesn't seem to have any particular support for

Windows CE in its tools. Some products don't make sense if you can't recover the investment you

make in them, and CE has been a small market I think, but I was wondering what you think the

future holds for CE as a target platform. Will it just be a host for the "compact" version of the

CLR whenever that comes out?
Hmm… good question. Knowing Microsoft, they’ll probably come out (or help hardware vendors)

produce devices that are 100% .NET from the ground up. At the same time, they’ll probably keep

pushing CE for at least awhile. Thinking of it as having two horses in the race. If CE eventually

becomes a big player, then they’d be stupid to drop it. I can also see a case for a future

version of CE hosting a compact CLR implementation. Who knows?

As for Compuware/NuMega support of CE, I know there is/was support for CE in BoundsChecker.

Granted, it probably isn’t everything that CE gearheads could ever want, but at least some

effort was put into it. I’m sure it’s not a surprise that market demands and market share drive

where a company like Compuware/NuMega put their efforts.

I heard that .NET supports COM and Windows API.. And as I think about C# and CLR as I have read

its document,(.NET development environment) it could also support platform independence...

Platform Independence is very important issue and C# aims for it . And other things in .NET also

look like aiming Platform Independence...(XML, SOAP etc...)
Then how can you explain about two contradictory features of .NET framework..?? Platform

Independence versus COM, Windows API support...

I don’t see much of a contradiction. C# is a language. You can write portable code in a

language, and you can write platform specific code in the same language. This has been the story

with the C language for 30 years. There’s nothing in the C# language definitions that I’ve seen

in C# that ties it to Windows. Yet, you can choose to use and/or write C# classes that rely on

features of Windows, or on the underlying hardware platform.

The same basic story goes for the CLR. I can absolutely see it being hosted someday without

Windows underneath it. Yet it has “escape hatches” that let you use Windows, COM, and pretty

much whatever else you need. Microsoft was smart to put them in there, because otherwise they’d

have a huge effort to get people to abandon their existing code. Heck, Microsoft themselves has

this problem. Can you see all of the Office products, and all of the Back Office products being

hosted entirely on .NET within the next year? Without using anything like Pinvoke and COM

interop?

The short answer: You have to be smart about what features you use, if you want portability. This

concept certainly isn’t new with .NET.

What I'd love to hear about is the early days when NuMega was a small shop and you and the team

were scrambling to get the next version out. I know that this isn't really a question, but I've

been using BoundsChecker for ever, and I'd love to hear you recount some interesting stories

about how everything got started. When did you join NuMega? Where you a founder? How did your

role there change over time. I have this impression that you started off writing all the code,

and then somewhere along the line moved into more of a pure research role.
Ah… excellent questions! Let me answer them somewhat out of order.

I joined NuMega in 1993, after being laid off from Borland. I certainly was not one of the

founders, but was well within the first 10 people.

When I joined, there were the two founders, two programmers (one of them off-site), an office

manager, and a sales/marketing guy. A few more great people joined shortly after I did, but it

was still pretty small for the first two years.

The two founders, Jim and Frank, are great guys. I still see them semi-regularly, and live in the

same small town as they do. I wasn’t even formally interviewed. I just talked to them on the

phone on two separate occasions, with most of conversation being about what I’d do to improve

SoftIce. I was totally shocked when they called with a job offer. I certainly felt under

qualified.

The great thing about the early days of NuMega was that it was a very family oriented company. It

seemed that all the families knew each other, and we were always doing things together. We didn’

t work horrible hours either, like most startups do these days. We were all pretty good at what

we did, and we worked pretty normal hours (say, 9-5). If you have good products, and a high

barrier to entry, you don’t have the same pressures that it seems everybody’s under today. As I

recall, we didn’t even bother to track vacation time. Everybody just intrinsically knew that as

long as the job got done, having a lot of formal procedures just got in the way.

When I joined, the primary products were SoftIce for DOS & Windows, and BoundsChecker for DOS. I

jumped right into the middle of the first BoundsChecker for Windows release (you have to recall,

in 1993, this would have been for 16 bit Windows 3.1) My first big job was to write the parameter

validation system. The team was basically Frank, the SoftIce for Windows guru, and myself. You

wouldn’t believe how much of the code was stolen from the DOS products.

After BoundsChecker 1.0 was released, I took over, and was the “lead” for BoundsChecker 2.0.

Saying “lead” is a bit of a stretch, because it was basically myself and the off-site

programmer. The SoftIce/W guy went back to his primary role.

One slightly humorous story is tech support. Back then, if somebody called for support on the DOS

products, they talked to one of the founders. If somebody called for support for the Windows

products, they talked to SoftIce for Windows guy or myself. Later we got dedicated support

people, but it was great getting first hand feedback from the customers on what you did right or

wrong.

When it came time to start the Win32 version, I did all the original core work, and brought Frank

in later to help with his symbol table code. On the UI side, the off-site guy did a ton of work

to convert the 16 bit UI code to 32 bits. Over time, many more great people (including John

Robbins) were hired on, and had the misfortune of working with my code J

I’ve pretty much stayed with BoundsChecker throughout my career at NuMega. Starting with the 16

bit code, through the 32 bit code, and more recently, with my 64 bit work. Luckily, I had 5 years

to learn from my previous mistakes, so most of my recent work has been on a revamped “engine”

for BoundsChecker. It’s this engine that will be used in future 32 and 64 bit versions of

BoundsChecker. This same engine also includes .NET support. It’s great being able to start from

a clean sheet of paper!

Besides my BoundsChecker related work, I’ve also moved into other areas, including research. The

engine I just mentioned started out as a research project. Other research areas might include

technology assessments, competitive analysis, and pretty much any area where I can provide

reasonable value to the company. I still think of myself as a coder at heart, though.

How do you manage to stay ahead of the curve?
Can a regular programmer guy like myself that works most of the day at work, and has a full

home-life, with a wife, and a commute to work, and a yard to mow, stay ahead of the curve like

you do?

It’s funny that you’d think I’m ahead of the curve, since I feel perpetually behind it. I try

to have a “normal” family life with my wife, 2 year old, and house. To try to balance my life,

I don’t work 14 hour days at work, and try to stay off the computer when I’m at home. Sure,

sometimes I have to focus intently at home (when writing a column for instance), but I certainly

don’t live in front of the computer like I used to.

So… I have to pick my battles carefully. I realize that there are just some areas that I won’t

have the time to learn. I know my strengths, and try to keep myself up to speed in at least those

areas. I also have the advantage of being an “architect” at NuMega. Because I’m supposed to be

keeping up with what’s coming down the pike in the future, I can usually leverage that knowledge

to help guide me in my outside activities such as my columns.

What kind of topics do you think you will cover in the future if .NET takes off. Will you

(un)cover IL and the JIT, for example? How important do you feel Win32 will be in the future?

Will there always be a place for those who know the Win32 API like the back of their hand?
Good questions! I’m already basically up on the underpinnings of .NET, but still have a lot to

learn. A lot of great info (such as the IL) is already documented. You just have to dig a little

to find what you’re after. There’s just so much to try to understand at once!

A lot of what I do is just taking existing documentation, and putting my own spin on things.

Unlike somebody who’s trying to write documentation for an entire API, I have the luxury of

picking an area to focus on. I can choose what I feel the important points are, and focus on

making those points as clear as possible. So, yes, I do figure I’ll be covering JITting and IL,

but it won’t be till I know enough to talk intelligently about them. I also don’t want to jump

the gun, and be writing about things that are in flux, and that many people may just not be ready

for.

As for the Win32 API, I think it will continue to be important. It’s not so much the API, as it

is the knowledge of all the layers in a system, and how they integrate. I’ve said this before,

but it bears repeating again: Software is written in layers. The more you understand about the

layers, the more valuable you’ll be, both as a coder, and when it comes time to debug. I don’t

consider myself a particularly great coder. What I do know is how most of the system fits

together.

Matt_Pietrek's_PE_Tutorial 很详细的一个PE格式文件说明,喜欢逆向分析的朋友可以看看, 立即下载

相关推荐

uniapp APP分享;判断用户是否安装APP,已安装直接打开,未安装跳转下载页;uniapp 在外部打开APP(schemes)

A将某商品分享给B,B点击后判断是否安装APP,若安装直接打开,没有安装则跳转下载页;

@微你 5691

逆向与破解-windows异常处理机制

以前看到过的很棒的一个讲解SEH的,非常的详细和简单易懂,不需要特别纠结具体的结构和处理的方法,初期对过程有一定的掌握就可以。以下为原文 深入解析结构化异常处理(SEH) - by Matt Pietrek 尽管以前写过一篇SEH相关的文章《关于SEH的简单总结》, 但那真的只是皮毛,一直对Windows异常处理的原理似懂非懂, 看了下面的文章 ,一切都豁然开朗.1997年文章,Window...

iamsongyu的博客 2929

HP MSA 2050磁盘阵列配置步骤

一、盘阵与服务器直接连接 1.1 单控制器配置:一台服务器/ 一个 HBA/ 单路径 1.2 双控制器配置:两台服务器/ 每台服务器一个 HBA/ 双路径 二、通过交换机(一般光纤交换机) 2.1 双控制器配置:两台服务器/ 两台交换机 三、配置MSA2050 3.1在完成硬件安装后,可以访问控制器模块的基于 Web 的管理界面 SMU (存储 管理实用程序),以便监视和管理此存储系统。 首先...

jw5493的博客 1万+

深入解析结构化异常处理(SEH) - by Matt Pietrek

深入解析结构化异常处理(SEH) - by Matt Pietrek

dvlinker的技术专栏 5万+

三菱FX5U通信之CCLINK操作步骤

11. 连接 CC‐Link 用的端子排,连接 Ver.1.10 对应 CC‐Link 专用电缆。备注:1、以上对应的寄存器都是一一对应的,主站的点数可以比从站多,但是都需要一一对应起来。3.直接安装孔,用于直接安装的螺钉孔(2‐φ4.5,安装螺钉为 M4 螺钉)2.点阵 LED(显示模块中设置的站号和测试模式的内容)5.次段扩展连接器(连接扩展模块的扩展电缆的连接器)4.动作状态(显示 LED 显示模块的动作状态)10 电源连接器,用于连接电源电缆的连接器。1.扩展电缆(扩展时连接用的电缆)

ZXL622722的博客 6956

2021年全网最细 VirtualBox 虚拟机安装 Ubuntu 20.04.2.0 LTS及Ubuntu的相关配置

目录一、VirtualBox 虚拟机的安装1. VirtualBox 的下载和安装2. 设置 VirtualBox 存储文件夹3. 在 VirtualBox 创建虚拟机二、Linux 操作系统(Ubuntu)的安装1. Linux 操作系统(Ubuntu)的下载2. 安装 Ubuntu3. 启动 Ubuntu三、配置 Ubuntu1. 设置终端2. 设置共享剪贴板3. 设置共享文件夹 一、VirtualBox 虚拟机的安装 VirtualBox 是由德国 Innotek 公司开发,由 Sun Microsy

XAMO Lab|代码、调试与复盘笔记 2万+

Matt Pietrek 讲解SEH的巨牛文章,留下来慢慢研究

A Crash Course on the Depths of Win32 Structured Exception Handling Matt Pietrek 著 董岩 译原文:http://www.microsoft.com/msj/0197/exception/exception.aspx 在Win32操作系统提供的所有功能中,使用最广泛而又没有公开的恐怕要数结构化异常处理(Struct...

weixin_34414650的博客 329

手把手教你学pcie--内存管理和保护机制(一):MPU与其他内存管理和保护机制详解

MPU(Memory Protection Unit)是一种专门用于 ​。,这些机制通常协同工作,形成多层防御体系,兼顾安全性、性能和灵活性。

MHD0815的博客 284

Windows XP下的向量异常处理

Windows XP下的向量异常处理   作者:Hume/冷雨飘心·发布日期:2002-8-9· 原作名称: Vectored

xyblack技术地带 593

Linux 设置双网卡通信,外网网卡和内网网卡

背景,Linux 主机已经安装了内网、外网 2 张网卡,目前外网网络已通,需要设置内网网卡转发通内网 内网需要通信的设备的网段,如果 10.99.0.0 代表 10.99 网段的所有 IP 表示 10.xx 网段走 10.xx.xx.xx 这个网关转发 :内网网卡设备示例 2、设置启动自动生效 打开 文件,如果没有则创建该文件,然后在文件内写入如下的内容修改上面的语句 为 即可 示例...

简简单单Onlinezuozuo 6613

出现 Error:Unable to access jarfile xxxx\target\nacos-server.jar 解决方法

Nacos中的 2.x执行步骤如上,如果需要安装下载1.x版本,执行该步骤之后 自动更新下载的是2.x版本 对此如果需要下载安装1.x的版本,可通过如下连接(windows版本)

码农研究僧的博客 5703

中断和异常

中断和异常 本文是MattPietrek在1997年月10月的MSJ杂志UnderTheHood专栏上发表的文章。中断和异常在DOS时代是整个系统的灵魂,但Windows已将其隐藏到了系统深处。MattPietrek详细剖析了Windows下的中断和异常及其处理机制以及内核模式与用户模式代码之间调用的问题。作者还提供了一个比较有意思的实验程序。 注:附...

weixin_34319111的博客 494

镜头像差之五——场曲

什么是场曲? 场曲[curvature of field] 物面上所有的点经过系统后,最佳焦点位置不在同一平面上,若这些像点所成的面为曲面,则称为系统有场曲。 与物高二次方、入射光瞳口径一次方成正比的像差。若仅存在场曲,则所有物平面上的点都有相应的像点,但分布在一个球面上;若采用弯成此种形状的底片,则可获得处处清晰的像。此时在理想像平面上,像点呈现为圆斑。 第一张图是最简单也是最容易理解的场曲,也就是对焦点锐利,其余部分逐渐松散,但实际上大多现代镜头的场曲都呈现为图二的形态:对焦点与边缘锐度.

camerall 1万+

AI辅助技术写作:从项目概述到高质量博文生成

在内容创作日益依赖工具化的今天,如何将零散的项目描述快速转化为结构清晰、实操性强的技术文章,成为许多从业者的核心诉求。本文从技术内容生成的基本概念出发,解析AI写作工具如何通过关键词提取、摘要重构与行业语境融合,帮助用户实现从原始素材到规范化博文的自动编排。该方法不仅适用于个人知识沉淀,也广泛应用于企业技术文档、开发者博客和SEO内容优化等场景。结合资深从业者的经验视角,文章进一步探讨了输入信息规范(如项目标题、关键词、摘要描述)对输出质量的影响,为读者提供一套可落地的AI辅助写作流程。

cuiji1279的博客 345

大中型超市收银系统(可直接运行)

光步前台收银系统系统功能:商品销售、商品退货、挂单、收银员权限、会员销售、单品取消、整单取消、商品查询、脱机销售、脱机数据上传,基本资料下载,开钱箱、小票打印、收款结算,支持多币种付款方式(现金、储值卡、礼券、微信等),支持多种促销。运行环境:.net 4.0登陆信息用户名:1001 密码:123456内置商品信息,商品编码可输入00001000 - 00010000,测试效果相关功能键F5 结算 F9挂单 F11商品查询 F8退货 Insert单品取消 Del整单取消 F12开钱箱F2 会员 Ctrl+Z退出系统 Home 锁屏 相关源码待公开

老版QQ原生表情gif动态

这是老版的QQ表情,不过全是动态的的,Windows照片查看器是不会动的,可以右击用浏览器打开查看,再说一遍是老版的,只是分享给宁愿用老版也要动态的人。

Matt Pietrek访谈,谈他对.NET的看法及Numega工作情况(英文) (转)

Matt Pietrek访谈,谈他对.NET的看法及Numega工作情况(英文) (转)[@more@] What do you think about possibility of porting .NET framewo...

csd3176的博客 119

汉书HE8,好用的汇编代码编写工具

汉书HE8,好用的汇编代码编写工具早期编写汇编代码所用功能强大

Matt Pietrek先生的《深入探索PE文件结构》

<br />网址:http://www.360doc.com/content/10/0113/14/59579_13431451.shtml<br /> <br />译者是姜庆东先生

百里鹤的专栏 3069

NTscan扫描工具

ntscan是一个扫描器,可以扫描没有密码和弱密码的共享,先到配置文件中填写猜测的用户名和密码,扫描过程中右侧出现的是扫描日志。

Windows程序调试----第三部分 调试技术----第8章基本调试技术

第三部分调试技术 第8章基本调试技术     本章回答了很多Windows下调试程序的常见问题,主要是基本的调试技术。所以它看起来可能有点像Windows调试常见问题解答,其中很多是我在调试新闻组里见到的问题。 8.1普通调试技术 我应该采取什么步骤使得我调试代码的能力最大?     请釆取以下步骤:     •重定位你的程序的可执行代码以防止虚拟地址空间冲突。关于虚拟地址空间冲突和重

tiewen的专栏 3126

Matt Pietrek

http://www.glamenv-septzen.net/view/768  Matt Pietrek氏MSJ私家版PDF Matt Pietrek氏のMicrosoft System Journalの記事で、個人的にPDFに変換した記事:  Jan 1997, SEH(構造化例外処理)のコンパイラレベル・OSレベルでの内部動作紹介 http://w

thtfpcuser的专栏 1096

转贴一篇Matt Pietrek的关于SEH的文章

2007年02月10日 19:26:00 全文比较长,链接在这里:http://www.microsoft.com/msj/0197/exception/exception.aspxTrackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=1507128

秦梦瑶的专栏 640

Mr. Matt Pietrek 的网站

<br />http://www.wheaty.net/<br /> <br />真正的技术大牛

百里鹤的专栏 2160

.NET 8 + 信创双栈:智慧文旅平台的多渠道票务与数据中台架构复盘

中心库存、幂等发码、多库方言适配、断网补传:一套文旅票务中台的架构取舍与踩坑复盘。

侯炯的专栏 212

Aspose.Slides for .NET v26

  Aspose.Slides for .NET allow the users to read, compose, modify, clone, shield, and even combine the PowerPoint under OpenOffice demonstration in the platform of .NET C# without having any external applications. It is a demo that is processing the API fo

q2315702359的博客 256

Aspose.OCR for .NET v26

  Aspose.OCR for .NET is a robust and user-friendly API designed for seamless integration of optical character recognition (OCR) capabilities into .NET applications. With just a few lines of code, developers can effortlessly add OCR functionality without d

q2315702359的博客 210
cccc2002
博客等级 码龄25年 1粉丝 1原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值
⌂ 换网址