首页 Soft PlugIn RAN乱 Dev开发 Info资料 English WAP 留言 登陆 注册
-
Posted by Yippee | 评论(0) | 引用(5) | 阅读1692次
0210 mimetic Uniwin

0210 mimetic Uniwin

当初的bkrender是delphi写的,因此转成borland C++最简单, 但效率实在不行。后来找到一个很好的MIME库,它是支持intel C++和VC.net, 效率高很多,而且更容易便用。

mimetic is a GPL MIME library written in C++ designed to be easy to use and integrate but yet fast and efficient.

I'm a fan of the C++ Standard Library so mimetic has been built around the standard lib. This means that you'll not find yet another string class or list implementation and that you'll feel comfortable in using this library from the very first time.

mimetic doesn't use exceptions but it heavily uses templates so a mostly standard compliant C++ compiler is required. I developed it using GCC 3.x and tested on most Unixes. When it comes to performance the stdlib is important (and GCC's is not the fastest library around) so mimetic code include some classes that are not strictly needed but are there just to improve performance (for ex. the File class for memory mapped file access).

Most classes functionalities and behavior will be clear if you ever studied MIME and its components; if you don't know anything about Internet messages you'll probably want to read some RFCs to understand the topic and, therefore, easily use the library whose names, whenever possible, overlap terms adopted in the standard RFC documents. At the very least: RFC 822, RFC 2045 and RFC 2046. A more complete list can be found at the Earl Wood's MIME page.

Being a programmers I know that a code snippet is better then thousand words :), so if you want you can jump to the Code Snippets section.

有人留言why not try uniwin & eclipse. Uniwin make eclipse/CDT or any GCC IDE a remote development enviroment.

Uniwin
Uniwin is a ssh/sftp based toolset to develop C/C++ systems on remote Unix servers based on Windows clients. Uniwin is especially optimized for eclipse/CDT development system.It doest not have its own GUI, but use the GUI from eclipse/CDT. Registered : 2006-01-17 09:10
Project Admins: uniwin
Operating System: All 32-bit MS Windows (95/98/NT/2000/XP)
License: GNU General Public License (GPL)

uniwin, 另外一个基于windows的远程开发系统
我这个暑假由于一个工程项目的原因需要在windows调试开发一个SUN服务器上的软件。链接,修改,上传,编译,下载,修改,再上传的把我折腾得够戗,由于安全原因不能在服务器上装个服务程序,所以没法用magic c++. 最近比较有空我就写了一个和magic c++类似功能得程序。不过我没写界面,界面用的是eclipse/CDT。和服务器之间通过SSH/SFTP链接。因此不需要再装服务软件。另外又做了几个小工具就把eclipse/CDT改造成一个远程调试开发系统。

要是有兴趣得可以在我的网页上下载一个玩玩。
http://www.u.arizona.edu/~yilu/uniwin/Uniwin.zip

这里是一个简短得说明
----------------------------------------
Uniwin是一套基于ssh/sftp技术的用于在Windows客户端开发远程Unix服务器程序的软件。Uniwin通过改写了GNU工具链为一些客户端的小桩 (STUB) 程序以及实时同步Windows客户端和服务器代码,为远程开发提供了一个无缝的接口。类似的产品,如Magic C++,与之不同,Uniwin直接使用ssh/sftp协议,因此服务器端不需要运行任何服务程序。Uniwin自己不提供图形开发界面,但是Uniwin为eclipse/CDT做了专门的优化,Uniwin自身经过一些简单配置后,就可以为eclipse/CDT从底层提供一个远程开发调试的环境,这是,eclipse就是被改造为一个远程调试的集成开发环境。许多eclipse带来的同步工具例如FTP-webDAV,Uniwin通过FTP/SFTP桥的模式直接解决了eclipse同步工具不支持SFTP的问题。由于Uniwin从底层出发,所以除了eclipse/CDT,他同时能无缝的将其他IDE改造为远程开发系统,例如,在调试工具中,Uniwin的gdb桩(STUB)能直接支持cygwin带来的DDD图形调试界面。所有Uniwin的提供的程序都是帮助集成开发环境(如eclipse/CDT)完成客户端和服务器端的通信和文件同步的。所以所有诸如编译,调试以及运行都发生在服务器端,客户端只是一个图形界面系统以及编辑功能。Uniwin可以定义为集成开发系统(eclipse/CDT)背后的通信员和搬运工 (A labor behinds IDE)。正确配置Uniwin后,可以使用eclipse/CDT象开发本地程序一样开发远程程序。

Uniwin自带了两个极其有用的小工具。一个是基于SFTP的客户端和远程服务器之间的文件同步,能够通过SFTP协议实时的同步客户端和服务器的指定的目录下的任何文件。另外一个是FTP/SFTP桥,Uniwin为了支持eclipse的同步工具,自带了一个全功能,多线程的FTP到SFTP协议转化程序,在本地提供FTP服务,同时又是远程Unix服务器的一个SFTP客户程序。

注:eclipse是由IBM提供的源码发展出来的集成开发环境,目前已经成为事实上的集成开发环境的工业标准。

看了看作者的主页,还是一位中国女性
Yilu Zhou

Is a doctoral candidate in the Department of Management Information Systems at the University of Arizona, where she is also a research associate of the Artificial Intelligence Lab. Her current research interests include multilingual knowledge discovery, Web mining, text mining and human computer interaction. She received a B.S. in Computer Science from Shanghai Jiaotong University.

Oboe and Me
  The oboe is a musical instrument of the woodwind double reed family. The word "oboe" is derived from the French word hautbois, meaning "high wood".
--wikipedia
认识了一个乐器  双簧管
 People in the A.I. Lab - Ph.D. Students - AI Lab
Tianya Haijiao, Shanghai, China 呵呵
不过一直不知道怎么弄中文名字 周 依 露,我LP干脆就认为是 一路走,强人啊!
GOOGLE搜索建议:您是不是要找: "一路周"  "以泸州"  " 路走" 
下载下来看看
What is new in this Uniwin package?

 SSH link speed optimization. The new Uniwin using a multithread ssh library to open several links when system startup, just like ftp/sftp bridge did in previous version. In this package, all application stubs will try to use pre-connected links first, no connection needed on the request.

 Direct memory copying between processes. The new Uniwin will copy data between those gnu utility stubs and ssh link server directly using shared memory. There is no buffer in the middle of them. The gcc link (or compiler) is highly optimized for speed.

 Sample source codes. This package also includes source codes of two samples, which are gcc.exe (cmd.zip) and gapp.exe (cmd2.zip). One uses the special gcc link and another one uses the normal pre-connected link.

 GCC IDE and GDB front-end. A GCC IDE with source codes and a full functioned gdb front-end are incorporated into this package. Please refer to IDE.README.DOC for more information about these two front-ends.
What is Uniwin

Uniwin is a ssh/sftp based toolset to develop C/C++ systems on remote Unix servers (including all Unix systems supporting ssh and sftp) based on Windows clients. Uniwin is especially optimized for eclipse/CDT development system. It does not have its own GUI but much more like a labor behind eclipse. By automatically synchronizing the source files on the client with the server and replacing GNU toolsets with some small stubs for them, Uniwin presents a seamless interface for remote development. Nothing needs to be changed to your favorite development environment just like you are developing on a local system. With a simple configuration procedure, all operations such as editing, compiling, and debugging will be exactly same as developing a local program.

Uniwin also can be used as an automatical SFTP file synchronizing system between local Windows client and remote server. Another usage of Uniwin may be treating it as a FTP to SFTP Bridge. In fact, a fully functioned, multi-threaded FTP to SFTP Bridge is incorporated into the package to support the team synchronizing tools provided by eclipse.

The advantage of Uniwin is it brings no change to you but providing a remote development environment in the backend.

How Uniwin Works

Uniwin rewrites the gnu toolset to some small stub programs.All programs provided by Uniwin are communication programs. So all compiling, debugging and running are happened on the server side, client side works as a GUI only and the editing also happens on the client side. The synchronizing tool helps you to solve the problem of client editing, it will automatically synchronize source files with those on the server and update the server side source files if needed.


字体:

Permanant URI永久地址 http://www.shengfang.org/blog/p/0210mimeticUniwin.php
Trackback URI引用地址 http://www.shengfang.org/blog/tb.php?tb_id=1146496602

2006年5月1日23:16星期一  [RAN乱] 追踪此文的RSS
提示:
此文还没有评论。

称呼:    登陆   注册
   不注册,但记住我的信息
邮件:
(非必须)
评论: [UBB代码帮助]
粗体 斜体 下划线 链接 水平线 引用



验证码: 请输入你看见的数字
关闭UBB      提交时自动将内容复制到剪贴板

公告
Fire and Motion!

统计信息
[Yippee]||[统计]||日志:1858
在线: 9||用户: 2577 [列表]
今日:399||到访:2886463
Rss:897743||评论:1605

最新日志

最新评论

友情链接

日历
2008 - 08
     12
3456789
10111213141516
17181920212223
24252627282930
31      

最新引用

搜索

归档

杂项
Get RSS Feed (Version 2.0)
Get Atom Feed (Version 0.3)
编码:  UTF-8